Optional descriptionLong description for the example. CommonMark syntax MAY be used for rich text representation.
Optional externalA URI that points to the literal example. This provides the capability to
reference examples that cannot easily be included in JSON or YAML
documents. The value field and externalValue field are mutually
exclusive. See the rules for resolving Relative
References.
Optional summaryShort description for the example.
Optional valueEmbedded 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.
In all cases, the example value is expected to be compatible with the type schema of its associated value. Tooling implementations MAY choose to validate compatibility automatically, and reject the example value(s) if incompatible.
See
https://spec.openapis.org/oas/latest.html#example-object