Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Selective api generation generates models of other apis #224

Open
misrakli opened this issue May 5, 2021 · 1 comment
Open

Selective api generation generates models of other apis #224

misrakli opened this issue May 5, 2021 · 1 comment

Comments

@misrakli
Copy link

misrakli commented May 5, 2021

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.

@john-kramer-bill
Copy link

I am also interested in this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants