oasgen 0.8.3

Generates OpenAPI 3.0 spec based on Rust code. Works with axum, actix-web, or independent of a web framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![cfg_attr(docsrs, feature(doc_cfg))]

#![allow(unused)]
mod server;
mod format;

pub use openapiv3::*;
pub use format::*;
pub use oasgen_macro::{OaSchema, openapi};
pub use oasgen_core::{OaSchema, TypedResponseFuture, FunctionMetadata};
pub use oasgen_core as core;
pub use server::Server;

#[cfg(feature = "swagger-ui")]
#[cfg_attr(docsrs, doc(cfg(feature = "swagger-ui")))]
pub use swagger_ui;