utoipa::openapi

Module schema

source
Expand description

Implements OpenAPI Schema Object types which can be used to define field properties, enum values, array or object types.

Structs§

Enums§

  • AdditionalProperties is used to define values of map fields of the Schema.
  • 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 to SchemaType alone. Format is an open value, so you can use any formats, even not those defined by the OpenAPI Specification.
  • Represents data type of Schema.

Traits§

Functions§