kubb-labs / kubb

OpenAPI to TypeScript, React-Query, Zod, Zodios, Faker.js, MSW and Axios.
https://kubb.dev
MIT License
568 stars 40 forks source link

Support having multiple swagger docs #1026

Closed jessekelly881 closed 1 month ago

jessekelly881 commented 1 month ago

What is the problem this feature would solve?

It seems like kubb currently only supports one input (oai) file. It would be great if it supported multiple different oai docs at once.

External documents/projects?

No response

What is the feature you are proposing to solve the problem?

No response

What alternatives have you considered?

No response

stijnvanhulle commented 1 month ago

For this you can use multiple configs as an array, see https://kubb.dev/guide/configure#multiple-plugins

jessekelly881 commented 1 month ago

Thanks @stijnvanhulle :)