Skip to content

Instantly share code, notes, and snippets.

@r-k-b
Last active November 21, 2020 22:22
Show Gist options
  • Save r-k-b/715a60a6d95523bd759e246d46109e3d to your computer and use it in GitHub Desktop.
Save r-k-b/715a60a6d95523bd759e246d46109e3d to your computer and use it in GitHub Desktop.
notes from an OpenAPI generator newcomer

unexpected globalProperty argument

$ openapi-generator generate -i ./swagger.json -g elm -t templates/ --global-property debugModels

[error] Found unexpected parameters: [--global-property, debugModels]

See 'openapi-generator help' for usage

Use instead:

$ openapi-generator generate -i ./swagger.json -g elm -t templates/ -D debugModels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment