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.
Adds a format to this OpenApiString.
a format string i.e. "date" or "date-time"
Validates the string with the maximum length.
Max length of the string.
Validates the string with the minimum length.
Min length of the string.
As of v3.1.0 this has been removed. Still available for v3.0.* OAS
Validates the string with a regular expresssion.
Regular expression to validate against.
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.
Representing a string from JSON schema.