oasgen-core 0.10.0

Dependency of oasgen. Generates OpenAPI 3.0 spec based on Rust code. Works with actix-web, but architected to easily extend to other frameworks (or no framework).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::{impl_oa_schema_passthrough, OaSchema};

impl_oa_schema_passthrough!(axum::Json<T>);

impl<T> OaSchema for axum::extract::Extension<T> {}

impl<T> OaSchema for axum::extract::State<T> {}

impl<T> OaSchema for axum::http::Response<T> {}

impl<T> OaSchema for axum::http::Request<T> {}

// TODO fill this out
impl<T> OaSchema for axum::extract::Query<T> {}

// TODO fill this out
impl<T> OaSchema for axum::extract::Path<T> {}