Skip to content
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

Client generation error from Swagger #272

Open
AndyO42 opened this issue Oct 17, 2023 · 1 comment
Open

Client generation error from Swagger #272

AndyO42 opened this issue Oct 17, 2023 · 1 comment

Comments

@AndyO42
Copy link

AndyO42 commented Oct 17, 2023

Hi. We are seeing the below error when we try and generate the client in our microservice. We are using "openapi-generator-maven-plugin" version 6.6.0 to do this with this swagger.

image

[ERROR]
org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).
| Error count: 1, Warning count: 2
Errors:
-attribute definitions.RatesBasic.items is missing

Thanks

@lcustodio
Copy link

lcustodio commented Jun 13, 2024

Hi @maria-thom! I'm facing the same issue on 2.43.0.
It's very likely that this problem has already being solved, could you generate a new release?

> There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).
   | Error count: 1, Warning count: 2
  Errors: 
  	-attribute definitions.RatesBasic.items is missing
  Warnings: 
  	-attribute definitions.RatesBasic.items is missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants