| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Extension[] | Returns: array of extensionsList of extensions to be added to the |
| public String | Returns: an external URL of the exampleA URL to point to an external document to be used as an example. |
| public String | |
| public String | |
| public String | |
| public String |
| description | back to summary |
|---|---|
| public String description() Long description for the example. CommonMark syntax MAY be used for rich text representation.
| |
| extensions | back to summary |
|---|---|
| public Extension[] extensions() List of extensions to be added to the
| |
| externalValue | back to summary |
|---|---|
| public String externalValue() A URL to point to an external document to be used as an example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents. This is mutually exclusive with the value property.
| |
| name | back to summary |
|---|---|
| public String name() A unique name to identify this particular example in a map.
The name is REQUIRED when the example is defined within
| |
| ref | back to summary |
|---|---|
| public String ref() Reference value to an Example object.
This property provides a reference to an object defined elsewhere. This property may be used with
| |
| summary | back to summary |
|---|---|
| public String summary() A brief summary of the purpose or context of the example
| |
| value | back to summary |
|---|---|
| public String value() A string representation of the example. This is mutually exclusive with the externalValue property, and ignored if the externalValue property is specified. If the media type associated with the example allows parsing into an object, it may be converted from a string.
| |