Forum Discussion

ajqportal's avatar
ajqportal
Visitor
4 years ago

How to Exclude Some Methods using Operation Filter

Hi, I am using asp.net core with swashbuckle and I add a custom header which works on each method, now I want to exclude some methods that don't need custom header.  Is this possible?  I saw this thread which is 2 years ago https://community.smartbear.com/t5/Swagger-Open-Source-Tools/Exclude-Operation-Filter-from-some-methods/td-p/172519 but it didn't have any answers.  is there a way to filter out some methods?