openapiv3_1

Crates.ioopenapiv3_1
lib.rsopenapiv3_1
version0.1.3
created_at2025-05-12 17:34:08.379235+00
updated_at2025-05-30 23:10:09.461754+00
descriptionOpenAPI 3.1.x bindings for rust
homepage
repositoryhttps://github.com/scufflecloud/scuffle
max_upload_size
id1670898
size240,033
Developers (github:scufflecloud:developers)

documentation

https://docs.rs/openapiv3_1

README

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

Commit count: 1522

cargo fmt