OpenAPITools / openapi-generator-bazel

Bazel plugin for OpenAPI Generator
Apache License 2.0
63 stars 46 forks source link

support for --skip-validate-spec option #57

Open valantonini opened 1 month ago

valantonini commented 1 month ago

Hi,

We have a 3rd party spec that contains some validation errors. I cant see a way to pass in the --skip-validate-spec option. Is there a way to provide the option and if not, would you be open to receive a PR to add support for this option?

output from command:

Exception in thread "main" 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: 3

Thanks in advance,

Val

wing328 commented 1 month ago

would you be open to receive a PR to add support for this option?

yes please