1#![forbid(unsafe_code)]
26#![allow(clippy::uninlined_format_args)]
28#![allow(clippy::single_match)]
29#![allow(clippy::must_use_candidate)]
30#![allow(clippy::len_zero)]
31#![allow(clippy::single_match_else)]
32#![allow(clippy::needless_pass_by_value)]
33#![allow(clippy::needless_borrow)]
34#![allow(clippy::field_reassign_with_default)]
35#![allow(clippy::trivially_copy_pass_by_ref)]
36
37mod schema;
38mod spec;
39
40pub use schema::{
41 ArraySchema, EnumSchema, JsonSchema, ObjectSchema, OneOfSchema, PrimitiveSchema, RefSchema,
42 Schema, SchemaType,
43};
44pub use spec::{
45 Components, Example, HasParamMeta, Info, MediaType, OpenApi, OpenApiBuilder, Operation,
46 ParamMeta, Parameter, ParameterLocation, PathItem, RequestBody, Response, SchemaRegistry,
47 SchemaRegistryMut, Server, Tag,
48};