Advertisement
Guest User

Untitled

a guest
Apr 24th, 2015
1,779
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. httpConfiguration
  2. .EnableSwagger("docs/{apiVersion}/swagger", c => c.SingleApiVersion("v1", "A title for your API"))
  3. .EnableSwaggerUi("sandbox/{*assetPath}");
  4.  
  5. httpConfiguration
  6. .EnableSwagger("{apiVersion}/api-docs", c => c.SingleApiVersion("v1", "My API"))
  7. .EnableSwaggerUi();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement