openapiv3_1 0.1.1

OpenAPI 3.1.x bindings for rust
Documentation

openapiv3_1

[!WARNING]
This crate is under active development and may not be stable.

License: MIT OR Apache-2.0 docs.rs crates.io GitHub Actions: ci Codecov


Rust implementation of OpenAPI Spec v3.1.x

A lof the code was taken from utoipa.

The main difference is the full JSON Schema 2020-12 Definitions.

See the changelog for a full release history.

Feature flags

  • docs — Enables changelog and documentation of feature flags
  • debug — Enable derive(Debug) on all types
  • yaml — Enables to_yaml function.

Alternatives

  • openapiv3: Implements the openapi v3.0.x spec, does not implement full json schema draft 2020-12 spec.
  • utoipa: A fully fletched openapi-type-generator implementing some of the v3.1.x spec.
  • schemars: A fully fletched jsonschema-type-generator implementing some of the json schema draft 2020-12 spec.

License

This project is licensed under the MIT or Apache-2.0 license. You can choose between one of them if you use this work.

SPDX-License-Identifier: MIT OR Apache-2.0