Clever / wag

sWAGger - Web API Generator
Apache License 2.0
77 stars 6 forks source link

new flags: --client-only & --client-language #321

Closed aastein closed 3 years ago

aastein commented 3 years ago

This PR adds two command line flags to Wag, --client-only and --client-language

--client-only When used wag does not generate server code

--client-language Can be go or js. When used wag will generate only the client of the specified language.

Both flags can be used together or separately. When using both flags like so --client-only --client-language js, no golang models are generated.