EnumDescription Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Description of an enum symbol
public class EnumDescription : Microsoft.OpenApi.IOpenApiElement
type EnumDescription = class
interface IOpenApiElement
Public Class EnumDescription
Implements IOpenApiElement
- Inheritance
-
EnumDescription
- Implements
Constructors
| Name | Description |
|---|---|
| EnumDescription() |
Default constructor |
| EnumDescription(JsonObject) |
Constructor from a raw OpenApiObject |
Properties
| Name | Description |
|---|---|
| Description |
The description for the enum symbol |
| Name |
The symbol for the enum symbol to use for code-generation |
| Value |
The symbol as described in the main enum schema. |
Extension Methods
| Name | Description |
|---|---|
| Validate(IOpenApiElement, ValidationRuleSet) |
Validate element and all child elements |