Share via


OpenApiExample.Value Property

Definition

Embedded literal example. The value field and externalValue field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON or YAML, use a string value to contain the example, escaping where necessary. You must use the IsJsonNullSentinel(JsonNode) method to check whether Default was assigned a null value in the document. Assign JsonNull to use get null as a serialized value.

public System.Text.Json.Nodes.JsonNode? Value { get; set; }
member this.Value : System.Text.Json.Nodes.JsonNode with get, set
Public Property Value As JsonNode

Property Value

Applies to