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 default URL template to be used when parsing routes
- Assembly
- Cake
.NSwag .dll - Namespace
- Cake
.NSwag .Settings - Containing Type
- Swagger
Generator Settings Extensions
Syntax
public static SwaggerGeneratorSettings UseUrlTemplate(this SwaggerGeneratorSettings settings, string template)
Parameters
Name | Type | Description |
---|---|---|
settings | Swagger |
The settings |
template | string | The url template to use as default |
Return Value
Type | Description |
---|---|
Swagger |
The updated settings object |