Expand description
Implements OpenAPI Schema Object types which can be used to define field properties, enum values, array or object types.
Structs§
- AllOf Composite Object component holds multiple components together where API endpoint will return a combination of all of them.
- AnyOf Composite Object component holds multiple components together where API endpoint will return a combination of one or more of them.
- Implements OpenAPI Components Object which holds supported reusable objects.
- Builder for
Components
with chainable configuration methods to create a newComponents
. - OpenAPI Discriminator object which can be optionally used together with
OneOf
composite object. - Implements subset of OpenAPI Schema Object which allows adding other
Schema
s as properties to thisSchema
. - OneOf Composite Object component holds multiple components together where API endpoint could return any of them.
- Implements OpenAPI Reference Object that can be used to reference reusable components such as
Schema
s orResponse
s.
Enums§
- AdditionalProperties is used to define values of map fields of the
Schema
. - Represents
Array
items in JSON Schema Array. - Known schema format modifier property to provide fine detail of the primitive type.
- Is super type for OpenAPI Schema Object. Schema is reusable resource what can be referenced from path operations and other components using
Ref
. - Additional format for
SchemaType
to fine tune the data type used. If the format is not supported by the UI it may default back toSchemaType
alone. Format is an open value, so you can use any formats, even not those defined by the OpenAPI Specification. - Represents type of
Schema
. - Represents data type fragment of
Schema
.
Traits§
- This convenience trait allows quick way to wrap any
RefOr<Schema>
withArray
schema.