cyclosproject / ng-openapi-gen

An OpenAPI 3.0 codegen for Angular
MIT License
397 stars 132 forks source link

Generate only a specific paths instead of all OpenAPI endpoints. #299

Open alexcibotari opened 11 months ago

alexcibotari commented 11 months ago

Hello, I'm generating a GitHub OpenAPI file, and it is huge with a lot of services that I do not need. I need only a limited set of APIs to be generated to make sure my bundle is reduced.

How can I do it?

luisfpg commented 11 months ago

The best option would be to just use functional style calls: https://github.com/cyclosproject/ng-openapi-gen#using-functional-api-calls You can also specify just a tag to be generated.