Tuesday, April 25, 2017

Exclude controllers methods from docs or swagger

Exclude controllers methods from docs or swagger

If you would like to ignore controller’s action method from documentation or swagger ,kindly out an annotation just above an action method.

 [ApiExplorerSettings(IgnoreApi = true)]

Thanks

0 comments :

Post a Comment