Home ExampleRef Class
ExampleRef Class
Cancel

ExampleRef Class

Namespace: Json.Schema.Api.OpenApi

Inheritance: ExampleRef 🡒 Example 🡒 object

Implemented interfaces:

  • IRefTargetContainer
  • IComponentRef

Models a $ref to an example.

Properties

NameTypeSummary
DescriptionstringGets or sets the description.
ExtensionDataExtensionDataGets or set extension data.
ExternalValuestringGets or sets a URI that points to the literal example.
IsResolvedboolGets whether the reference has been resolved.
RefUriThe URI for the reference.
SummarystringGets or sets the summary.
UnknownDataUnknownDataGets or sets properties which are not recognized by OpenAPI.
ValueJsonNodeGets or sets the example value.

Constructors

ExampleRef(Uri reference)

Declaration

1
public ExampleRef(Uri reference)
ParameterTypeDescription
referenceUriThe reference URI

ExampleRef(string reference)

Declaration

1
public ExampleRef(string reference)
ParameterTypeDescription
referencestringThe reference URI
Contents