This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.NSwag.
Summary
Sets the base path for use in the Swagger specification
- Assembly
- Cake
.NSwag .dll - Namespace
- Cake
.NSwag .Settings - Containing Type
- Swagger
Generator Settings Extensions
Syntax
public static SwaggerGeneratorSettings UseBasePath(this SwaggerGeneratorSettings settings, string basePath)
Parameters
Name | Type | Description |
---|---|---|
settings | Swagger |
The settings |
basePath | string | Base path to set in the generated specification |
Return Value
Type | Description |
---|---|
Swagger |
The updated settings object |