kynos_openapi/model/mod.rs
1//! The OpenAPI object model.
2//!
3//! Data and invariant-preserving constructors, and nothing else. Producing an
4//! artifact from this model lives in [`crate::emit`]; checking one against the
5//! specification lives in [`crate::validate`].
6//!
7//! This is the subtree that would become a standalone IR crate if the
8//! satellite-crate boundary described in `docs/architecture.md` is ever drawn.
9
10pub mod body;
11pub mod callback;
12pub mod components;
13pub mod document;
14pub mod example;
15pub mod extensions;
16pub mod external_docs;
17pub mod info;
18pub mod link;
19// Private: it declares one deserializer the model's own fields point at, and
20// nothing a caller has a path to.
21mod nullable;
22// Private: it declares one deserializer the model's own fields point at, and
23// nothing a caller has a path to.
24mod number;
25pub mod parameter;
26pub mod paths;
27pub mod reference;
28pub mod response;
29pub mod schema;
30pub mod security;
31pub mod server;
32pub mod tag;
33
34#[cfg(test)]
35mod tests;