Adds a description to this OpenApiSchema
Description
Adds an exclusive maximum to this number.
As of OpenApi v3.1.* exclusiveMax is now a number not a boolean.
Maximum bound for this number.
Adds an exclusive minimum to this number.
As of OpenApi v3.1.* exclusiveMin is now a number not a boolean.
Minimum bound for this number.
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 maximum to this number schema.
Maximum bound for this number.
Adds a minimum to this number schema.
Minimum bound for this number.
Adds a multiple to validate numbers against.
Constrain numbers to be multiples of the given value.
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.
A Integer representation of the JSON number schema.