openapi-generator-bazel icon indicating copy to clipboard operation
openapi-generator-bazel copied to clipboard

support for --skip-validate-spec option

Open valantonini opened this issue 1 year ago • 2 comments

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

valantonini avatar Jul 08 '24 04:07 valantonini

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

yes please

wing328 avatar Jul 09 '24 07:07 wing328

Will be in the next rc

nucle avatar Jan 13 '25 09:01 nucle