tork-openapi 0.1.0

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

mod asyncapi;
mod docs;
mod spec;

pub use asyncapi::AsyncApi;
pub use spec::OpenApi;