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, response codes like "4XX" lead to uncompilable output. The spec says such response codes are valid.
openapi: 3.0.3 info: version: 1.0.0 title: OpenAPI Petstore paths: /: get: responses: 4XX: # this causes problems description: client error
Compiling the generated output results in
[ERROR] src/main/java/org/openapitools/mockserver/api/DefaultApiMockServer.java:[17,30] ')' expected [ERROR] src/main/java/org/openapitools/mockserver/api/DefaultApiMockServer.java:[17,32] ';' expected
latest master
use generator "java-wiremock", with no additional settings
originally discovered in #17614
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report Checklist
Description
In the java-wiremock generator, response codes like "4XX" lead to uncompilable output.
The spec says such response codes are valid.
example spec
Compiling the generated output results in
openapi-generator version
latest master
Generation Details
use generator "java-wiremock", with no additional settings
Related issues/PRs
originally discovered in #17614
The text was updated successfully, but these errors were encountered: