Last active
March 18, 2016 13:08
-
-
Save VisualBean/6b04624438d8160f9a32 to your computer and use it in GitHub Desktop.
Adding new basicauth to swaggerconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GlobalConfiguration.Configuration | |
.EnableSwagger(c => | |
{ | |
... | |
c.BasicAuth("basic").Description("HTTP Authentication Method"); | |
c.OperationFilter<ApplyBasicAuth>(); | |
... | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment