Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
OpenApiSpecVersion Enum
Definition
- Namespace:
- Microsoft.OpenApi
- Assembly:
- Microsoft.OpenApi.dll
- Package:
- Microsoft.OpenApi v3.7.0
- Source:
- OpenApiSpecVersion.cs
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.
Represents versions of OpenAPI specification.
public enum OpenApiSpecVersion
type OpenApiSpecVersion =
Public Enum OpenApiSpecVersion
- Inheritance
-
OpenApiSpecVersion
Fields
| Name | Value | Description |
|---|---|---|
| OpenApi2_0 | 0 | Represents OpenAPI V2.0 spec |
| OpenApi3_0 | 1 | Represents all patches of OpenAPI V3.0 spec (e.g. 3.0.0, 3.0.1) |
| OpenApi3_1 | 2 | Represents OpenAPI V3.1 spec |
| OpenApi3_2 | 3 | Represents OpenAPI V3.2 spec |
