paperclip_core::v2

Module models

source
Expand description

Models used by OpenAPI v2.

Structs§

Enums§

  • Possible formats for array values in parameter.
  • Supported data types.
  • Supported data type formats.
  • Either from “either” crate. We can’t use that crate because we don’t want the enum to be tagged during de/serialization.
  • The HTTP method used for an operation.
  • The protocol used for an operation.
  • The location of the parameter.
  • Wrapper for schema. This uses Arc<RwLock<S>> for interior mutability and differentiates raw schema from resolved schema (i.e., the one where $ref references point to the actual schema).
  • The format used by spec (JSON/YAML).
  • OpenAPI version.

Statics§

Type Aliases§