/openapi-generator

Primary LanguageDockerfileMIT LicenseMIT

openapi-generator

CLI docker image for the OpenAPI generator, enriched with a convenient yaml file parser yq.

Usage

Print the generator version:

openapi-generator version

Run the generator (follows standard OpenAPI CLI signature):

openapi-generator generate -i input.yaml -g generator-name -o output/dir

Add additional options supported by the generator using the --additional-properties="key=value,key2=value2" comma-separated list.

YAML file support

Please see the yq documentation.