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
Enables representing enums as integers in generated specifications
- Assembly
- Cake
.NSwag .dll - Namespace
- Cake
.NSwag .Settings - Containing Type
- Swagger
Generator Settings Extensions
Syntax
public static SwaggerGeneratorSettings UseIntegerEnums(this SwaggerGeneratorSettings settings)
Parameters
Name | Type | Description |
---|---|---|
settings | Swagger |
The settings |
Return Value
Type | Description |
---|---|
Swagger |
The updated settings object |