OpenApiEnumValuesDescriptionExtension.Parse(JsonNode) Method
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.
Parse the extension from the raw IOpenApiAny object.
public static Microsoft.OpenApi.MicrosoftExtensions.OpenApiEnumValuesDescriptionExtension Parse(System.Text.Json.Nodes.JsonNode source);
static member Parse : System.Text.Json.Nodes.JsonNode -> Microsoft.OpenApi.MicrosoftExtensions.OpenApiEnumValuesDescriptionExtension
Public Shared Function Parse (source As JsonNode) As OpenApiEnumValuesDescriptionExtension
Parameters
- source
- JsonNode
The source element to parse.
Returns
The OpenApiEnumValuesDescriptionExtension.
Exceptions
When the source element is not an object