CurrencyCloud / currencycloud-swagger

Swagger documentation for Currencycloud API v2
12 stars 30 forks source link

Client generation error from Swagger #272

Open AndyO42 opened 10 months ago

AndyO42 commented 10 months ago

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 commented 2 months ago

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