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

Update the OAS Generator jar version #445

Open
nils-work opened this issue Oct 22, 2024 · 0 comments
Open

Update the OAS Generator jar version #445

nils-work opened this issue Oct 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nils-work
Copy link
Member

Description
The OAS generate script (swagger-gen\oas_generate.sh) specifies an older version of the OpenAPI Generator jar file version used for generating the OAS output in the Standards build process.

A change to use a newer version of the jar for validation was completed in #414 - Update OAS Validator/Generator.

Generate OAS version

- java -jar $OAS_CODEGEN/openapi-generator-cli-5.2.1.jar generate -i $INPUT_SWAGGER -g $OUTPUT_FORMAT -o $SWAGGER_CODEGEN_OUTPUT > $SWAGGER_CODEGEN_OUTPUT/log.txt 2>&1
+ java -jar $OAS_CODEGEN/openapi-generator-cli-6.6.0.jar generate -i $INPUT_SWAGGER -g $OUTPUT_FORMAT -o $SWAGGER_CODEGEN_OUTPUT > $SWAGGER_CODEGEN_OUTPUT/log.txt 2>&1

Key change above is:

- openapi-generator-cli-5.2.1.jar
+ openapi-generator-cli-6.6.0.jar

The newer version provides improved output formatting with clearer nested schema references.

@nils-work nils-work added the enhancement New feature or request label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant