gradle-swagger-generator-plugin
gradle-swagger-generator-plugin copied to clipboard
Selective api generation generates models of other apis
Hi,
Given an openapi spec with multiple APIs, I'm trying to generate code (api and corresponding models) just for a specific API.
components = [apis: 'MyTaggedApi', apiDocs: false, models: true]
While this works fine for API classes, models=true
will generated all models for every API in the openapi spec.
Is this really intended that way and is selective model generation for a specific API by listing all classes for that API, like models=ModelA, ModelB
(the list can be long here) the only way to solve this?
Thanks in advance for suggestions.
I am also interested in this.