Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- httpConfiguration
- .EnableSwagger("docs/{apiVersion}/swagger", c => c.SingleApiVersion("v1", "A title for your API"))
- .EnableSwaggerUi("sandbox/{*assetPath}");
- httpConfiguration
- .EnableSwagger("{apiVersion}/api-docs", c => c.SingleApiVersion("v1", "My API"))
- .EnableSwaggerUi();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement