cancel
Showing results for 
Search instead for 
Did you mean: 

Exclude Operation Filter from some methods

Occasional Contributor

Exclude Operation Filter from some methods

I'm using the IOperationFilter to add a header variable to swagger for all methods which works great so I don't have to do it for each one but is there a way to exclude it from a couple of methods?

2 REPLIES
Moderator

Re: Exclude Operation Filter from some methods

Is this a .net application with Swashbuckle?

Occasional Contributor

Re: Exclude Operation Filter from some methods

Again thank you, Ron, and again I apologize for posting this in the wrong location as you saw in my other thread, yes this is Swashbuckle it's the path Google lead me down when I looked up how to add Swagger to my project.

Share Your Stories
Read Latest News
Top Kudoed Authors
Labels