disposition_model/
lib.rs

1//! SVG diagram generator input data model.
2//!
3//! The diagram input model is hand written, as an OpenAPI spec doesn't support
4//! modelling certain data structures such as a Map with a particular key type.
5
6// Re-exports
7// This allows consumers to not need to depend on `utoipa` manually.
8#[cfg(feature = "openapi")]
9pub use utoipa;
10
11#[cfg(feature = "openapi")]
12pub use crate::api_doc::ApiDoc;
13pub use crate::input_diagram::InputDiagram;
14
15pub mod edge;
16pub mod entity;
17pub mod process;
18pub mod tag;
19pub mod theme;
20pub mod thing;
21
22#[cfg(feature = "openapi")]
23mod api_doc;
24mod input_diagram;