openapiv3_1
[!WARNING]
This crate is under active development and may not be stable.
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 flagsdebug— Enable derive(Debug) on all typesyaml— Enablesto_yamlfunction.
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