Share via


OpenApiMediaType.Example Property

Definition

Example of the media type. The example object SHOULD be in the correct format as specified by the media type. 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? Example { get; set; }
member this.Example : System.Text.Json.Nodes.JsonNode with get, set
Public Property Example As JsonNode

Property Value

Applies to