Enhancement: Add include_in_schema option on Routers and/or Controllers #2267
Labels
Enhancement
This is a new feature or request
Good First Issue
This is good for newcomers to take on
Help Wanted 🆘
This is good for people to work on
Summary
I'd like to exclude entire Controllers from my OpenAPI docs, with the current state I need to add include_in_schema=False on every single route handler in the controller.
It would be very convenient if I could specify this option on the Controller level (and possibly on the router level as well), and it would be propagated downwards.
Basic Example
No response
Drawbacks and Impact
No response
Unresolved questions
No response
Funding
The text was updated successfully, but these errors were encountered: