-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(java): escape oneOf naming #268
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,5 @@ dist | |
.openapi-generator | ||
|
||
tests/output/*/.openapi-generator-ignore | ||
|
||
generators/bin | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -723,7 +723,10 @@ void deleteByTest0() { | |
} | ||
|
||
EchoResponseInterface req = (EchoResponseInterface) assertDoesNotThrow(() -> { | ||
return client.deleteBy(indexName0, SearchParams.of(searchParams0)); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm surprised those are the only changes to the test, I think there is something more, I will check. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is definitely a missing part with the CTS I think, I still can't make #227 work :( |
||
return client.deleteBy( | ||
indexName0, | ||
SearchParams.ofSearchParamsObject(searchParams0) | ||
); | ||
} | ||
); | ||
|
||
|
@@ -1722,7 +1725,10 @@ void searchTest0() { | |
} | ||
|
||
EchoResponseInterface req = (EchoResponseInterface) assertDoesNotThrow(() -> { | ||
return client.search(indexName0, SearchParams.of(searchParams0)); | ||
return client.search( | ||
indexName0, | ||
SearchParams.ofSearchParamsObject(searchParams0) | ||
); | ||
} | ||
); | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is generating this
bin
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The generators when built locally without the docker image, I'm not sure why it did not happened before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are built by the scripts inside the docker image, and should only create a
.gradle
andbuild
folder, do you have something else installed on your IDE ?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, I don't even have a Java extension on my vscode.
Do you want me to remove it from the gitignore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No if you have it something is generating it, I just wanted to understand what
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do more tests in #227 later, will let you know if I know what is the issue