[package]
edition = "2024"
rust-version = "1.85"
name = "fastapi-openapi"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenAPI 3.1 types and schema generation for fastapi_rust"
homepage = "https://github.com/Dicklesworthstone/fastapi_rust"
documentation = "https://docs.rs/fastapi-openapi"
readme = "README.md"
keywords = [
"openapi",
"schema",
"fastapi",
"json-schema",
"spec",
]
categories = [
"web-programming",
"data-structures",
]
license = "MIT"
repository = "https://github.com/Dicklesworthstone/fastapi_rust"
resolver = "2"
[lib]
name = "fastapi_openapi"
path = "src/lib.rs"
[[test]]
name = "enum_schema"
path = "tests/enum_schema.rs"
[[test]]
name = "openapi_generation"
path = "tests/openapi_generation.rs"
[dependencies.fastapi-core]
version = "0.1.0"
[dependencies.fastapi-router]
version = "0.1.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dev-dependencies.fastapi-macros]
version = "0.1.0"
[lints.clippy]
doc_link_with_quotes = "allow"
doc_markdown = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"