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
Gets or sets a value indicating whether to represent enums as strings
- Assembly
- Cake
.NSwag .dll - Namespace
- Cake
.NSwag .Settings - Containing Type
- Swagger
Generator Settings
Syntax
public bool EnumAsString { get; set; }
Value
Type | Description |
---|---|
bool | true to represent as strings or false to represent as integers |