Cargo Features

revolt_okapi has no features set by default.

[dependencies]
revolt_okapi = { version = "0.9.1", features = ["impl_json_schema", "preserve_order"] }
impl_json_schema

Implements JsonSchema for Schemars and Okapi types themselves.

Enables impl_json_schema of schemars

preserve_order

Preserve the order of items in schema and other part of the OpenAPI documentation.

Enables preserve_order of schemars