Openapi-generator: [REQ] apisToGenerate option

Created on 27 Jun 2019  路  3Comments  路  Source: OpenAPITools/openapi-generator

Is your feature request related to a problem? Please describe.

The code generated for all api definitions can contain too much unused code.

Describe the solution you'd like

Is there possible to generate only code for chosen api definitions? The models list to be generated should be detected automatically.

Describe alternatives you've considered

Is there 3rd party tools which can determine models list are used by rest api?

Additional context

Feature

Most helpful comment

What about trimming down the OpenAPI document into smaller one to meet your requirement?

All 3 comments

What about trimming down the OpenAPI document into smaller one to meet your requirement?

Is there supporting editors/tools which can help to split?

Got it!
Open api supports customization

Also openapi-generator-ignore can be used

Was this page helpful?
0 / 5 - 0 ratings