ExampleObject

data class ExampleObject(val summary: String? = null, val description: String? = null, val value: GenericElement? = null, val externalValue: String? = null, val extensions: ExtensionProperties? = null) : Extensible(source)

Example Object (OpenAPI). Represents an example payload/value for a schema.

Notes:

Report a problem

Constructors

Link copied to clipboard
constructor(summary: String? = null, description: String? = null, value: GenericElement? = null, externalValue: String? = null, extensions: ExtensionProperties? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Long description for the example. CommonMark MAY be used.

Link copied to clipboard
open override val extensions: ExtensionProperties?

Specification extensions (keys must start with x-).

Link copied to clipboard

URL that points to an external example value.

Link copied to clipboard

Short description for the example.

Link copied to clipboard

Embedded example value.