Home RequestBodyRef Class
RequestBodyRef Class
Cancel

RequestBodyRef Class

Namespace: Json.Schema.Api.OpenApi

Inheritance: RequestBodyRef 🡒 RequestBody 🡒 object

Implemented interfaces:

  • IRefTargetContainer
  • IComponentRef

Models a $ref to a request body.

Properties

NameTypeSummary
ContentDictionary<string, MediaType>Gets the content collection.
DescriptionstringGets or sets the description.
ExtensionDataExtensionDataGets or set extension data.
IsResolvedboolGets whether the reference has been resolved.
RefUriThe URI for the reference.
Requiredbool?Gets or sets whether the request body is required.
SummarystringGets or sets the summary.
UnknownDataUnknownDataGets or sets properties which are not recognized by OpenAPI.

Constructors

RequestBodyRef(Uri reference)

Declaration

1
public RequestBodyRef(Uri reference)
ParameterTypeDescription
referenceUriThe reference URI

RequestBodyRef(string reference)

Declaration

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