Adds a description to this OpenApiSchema
Description
Extend the specification with an extension object schema.
key value mappings with names MUST beginning with "x-"
Adds an external documentation to this OpenApiSchema
Documentation to add to this schema.
As of v3.1.0 this has been removed. Still available for v3.0.* OAS
Overrides the toJSON method for a custom serialization.
WARNING: overrideVal must be serializable and future changes are subject to breaking.
Overrides the serialization of this object into this value.
Serializes the object into its equivalent OpenApi JSON value.
Arrays are used for ordered elements. In JSON, each element in an array may be of a different type.