Forum Discussion

MrSmoofy's avatar
MrSmoofy
Occasional Contributor
6 years ago

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

    • MrSmoofy's avatar
      MrSmoofy
      Occasional Contributor

      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.