Hide actions from Swagger / OpenAPI documentation in ASP.NET Core
Read OriginalThis technical article details methods to exclude controllers and actions from auto-generated Swagger/OpenAPI documentation in ASP.NET Core. It covers the basic [ApiExplorerSettings] attribute and provides a more automated solution using custom IActionModelConventions for bulk or logic-based hiding, complete with a sample GitHub project.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet