apistos-core 0.6.0

Actix-web OpenAPI v3.0 documentation generator
Documentation
use apistos_models::InstanceType;

mod api_component;
mod components;
mod error_component;
mod path_item_definition;
#[cfg(feature = "actix")]
mod wrappers;

pub use api_component::ApiComponent;
pub use components::*;
pub use error_component::ApiErrorComponent;
pub use path_item_definition::PathItemDefinition;
#[cfg(feature = "actix")]
pub use wrappers::{ResponderWrapper, ResponseWrapper};

pub trait TypedSchema {
  fn schema_type() -> InstanceType;
  fn format() -> Option<String>;
}