dropshot_api_manager_types/
lib.rs

1// Copyright 2025 Oxide Computer Company
2
3//! Shared types for the Dropshot API manager.
4//!
5//! This crate is part of the [Dropshot OpenAPI
6//! manager](https://crates.io/crates/dropshot-api-manager).
7//!
8//! Code that defines [API
9//! traits](https://docs.rs/dropshot/latest/dropshot/attr.api_description.html)
10//! can depend on `dropshot-api-manager-types` to get access to interfaces
11//! exposed by the Dropshot API manager. In particular, versioned APIs will want
12//! to depend on this crate for access to the `api_versions!` macro.
13
14mod apis;
15mod validation;
16mod versions;
17
18pub use apis::*;
19// Re-export these types for consumers of `api_versions!`.
20pub use paste::paste;
21pub use semver;
22pub use validation::*;
23pub use versions::*;