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? 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
In the java-wiremock generator, conversion of example responses to strings can lead to uncompilable output due to improper escaping.
latest master
openapi: 3.0.3 info: version: 1.0.0 title: OpenAPI Petstore paths: /: get: responses: '200': description: successful operation content: application/json: schema: type: object properties: dummyProp: type: string example: '"' # this causes problems
Compiling the generated output results in
[ERROR] src/main/java/org/openapitools/mockserver/api/DefaultApiMockServer.java:[39,40] illegal character: '\'
use generator "java-wiremock", with no additional settings
originally discovered in #17614
possibly related issues: #3140, #1691
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report Checklist
Description
In the java-wiremock generator, conversion of example responses to strings can lead to uncompilable output due to improper escaping.
openapi-generator version
latest master
OpenAPI declaration file content or url
Compiling the generated output results in
Generation Details
use generator "java-wiremock", with no additional settings
Related issues/PRs
originally discovered in #17614
possibly related issues: #3140, #1691
The text was updated successfully, but these errors were encountered: