oasgen-core 0.5.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
mod operation;
mod schema;
mod attr;
mod parse_error;

pub use operation::*;
pub use schema::*;
pub use attr::*;

#[cfg(test)]
#[allow(non_snake_case)]
mod tests {
    use openapiv3::SchemaKind;
    use super::*;

    #[test]
    fn test_String_schema() {
        let s = String::schema().unwrap();
        let SchemaKind::Type(openapiv3::Type::String(_)) = s.schema_kind else { panic!() };
    }
}