We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Note the | character in the parameter key. This translates to:
|
public static final String SERIALIZED_NAME_UPDATED_AT|GT = "updated_at|gt"; @SerializedName(SERIALIZED_NAME_UPDATED_AT|GT) private OffsetDateTime updatedAt|gt = null;
... which does not parse as Java.
020883f
paths: '/foo': get: parameters: - name: filter in: query required: false style: deepObject schema: properties: "updated_at|gt": type: string format: date-time
java -jar openapi-generator-cli.jar generate -l java -i api.yml -o jclient
Generate client.
None.
Escape parameter names properly such that the generator emits syntactically valid Java code.
The text was updated successfully, but these errors were encountered:
Thank you a lot for this issue. Have you the possibility to check the patch I have proposed in #461?
Sorry, something went wrong.
Yes, I checked and the fix works for me. Thank you!
This is fixed in 3.1.0-SNAPSHOT (release is planned tomorrow)
3.1.0-SNAPSHOT
No branches or pull requests
Description
Note the
|
character in the parameter key. This translates to:... which does not parse as Java.
openapi-generator version
020883f
OpenAPI Declaration
Command Line used for generation
Steps to reproduce
Generate client.
Related issues/PRs
None.
Suggest a fix/enhancement
Escape parameter names properly such that the generator emits syntactically valid Java code.
The text was updated successfully, but these errors were encountered: