Skip to main content

tork_openapi/
lib.rs

1//! OpenAPI support for the Tork web framework.
2//!
3//! Provides the [`OpenApi`] builder used to configure the specification document.
4//! It depends on `tork-core` to read the registered route table; `tork-core`
5//! does not depend on this crate, so the dependency graph stays acyclic and
6//! OpenAPI support can be turned off behind a feature flag in the facade crate.
7#![forbid(unsafe_code)]
8
9mod asyncapi;
10mod docs;
11mod spec;
12
13pub use asyncapi::AsyncApi;
14pub use spec::OpenApi;