1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>;
}