Skip to main content

roas/
lib.rs

1//! OpenAPI Specification
2
3// Everything internal here is reached through a versioned
4// document: the validation impls, the walkers, the shared
5// helpers. Build with no version feature at all and none of it
6// is called — which is that configuration saying so, not code
7// nobody uses. Every real configuration keeps the lint.
8#![cfg_attr(
9    not(any(feature = "v2", feature = "v3_0", feature = "v3_1", feature = "v3_2")),
10    allow(dead_code)
11)]
12
13pub mod common;
14pub mod loader;
15pub mod merge;
16pub mod validation;
17
18#[cfg(feature = "v2")]
19pub mod v2;
20
21#[cfg(feature = "v3_0")]
22pub mod v3_0;
23
24#[cfg(feature = "v3_1")]
25pub mod v3_1;
26
27#[cfg(feature = "v3_2")]
28pub mod v3_2;