cdwv / oas3-api-snippet-enricher

Enrich your OpenAPI 3.0 JSON with code samples
MIT License
90 stars 13 forks source link

Make Languages a CLI option #2

Closed vpillinger closed 4 years ago

vpillinger commented 4 years ago

It would be nice to specify which languages to generate snippets for customization via the CLI.

Something like

node index.js --targets="python, shell_curl" openapi.json > openapi-with-examples.json
KarolNet commented 4 years ago

Hi, option --target are added.

vpillinger commented 4 years ago

Thankyou!

greatvovan commented 3 years ago

Hi, option --target are added.

@KarolNet excuse me, where is the list of available targets?

greatvovan commented 3 years ago

Ah, they are probably in https://github.com/ErikWittern/openapi-snippet...