swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
16.9k stars 6.03k forks source link

[HTML2] Select languages for sample generation. #4873

Open MayurVirkar opened 7 years ago

MayurVirkar commented 7 years ago
Description

How can we select which language samples should be generated while generating HTML2. Eg: We need curl and javascript only.

Swagger-codegen version

Latest

wing328 commented 7 years ago

@MayurVirkar thanks for the question. I don't think we support that at the moment.

If you've time to contribute an enhancement (e.g. an option to select which language samples to be included), let me know and I can show you some good starting point.

cc @jhitchcock @bshamblen