nitrojs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.build
MIT License
6.29k stars 519 forks source link

Enable/disable openAPI on a per-route basis #2889

Open horvbalint opened 1 week ago

horvbalint commented 1 week ago

Describe the feature

It would be great to only enable openAPI for specific routes. In my usecase only parts of my backend is public, but I would like to use the experimental openAPI feature for them.

Additional information