Created
July 10, 2020 22:05
-
-
Save ankitvijay/c571b4f1b42306891e169c3c643afdcb to your computer and use it in GitHub Desktop.
Part 4 - Startup.cs - 3
This file contains 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
services.AddSwaggerGen(options => | |
{ | |
options.SwaggerDoc("v1", new OpenApiInfo {Title = "Enumeration NSwagger Sample", Version = "v1"}); | |
options.SchemaFilter<EnumerationToEnumSchemaFilter>(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment