Joonas Westlin 3/16/2020

Hide actions from Swagger / OpenAPI documentation in ASP.NET Core

Read Original

This 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.

Hide actions from Swagger / OpenAPI documentation in ASP.NET Core

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