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
"reflect" imported and not used
Generated code for part of the 3GPP spec not compile.
7.10.0-SNAPSHOT
openapi: 3.0.0 info: version: '1.0.0' title: '-' paths: /req: get: summary: Request operationId: Request requestBody: content: application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/Req' encoding: prop: contentType: application/json responses: '200': description: OK components: schemas: Req: type: object properties: prop: type: array items: type: integer
docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:latest generate \ --input-spec /local/fail_schema.yaml \ --generator-name go \ --additional-properties "withGoMod=false" \ --package-name gen \ --output /local/gen_fail
You can use this gist.
reflect
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report Checklist
Getting compilation error
"reflect" imported and not used
for generated file.Description
Generated code for part of the 3GPP spec not compile.
openapi-generator version
7.10.0-SNAPSHOT
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
You can use this gist.
Related issues/PRs
reflect
when using it #19967Suggest a fix
reflect
when using it #19967The text was updated successfully, but these errors were encountered: