Expand description
Shared types for the Dropshot API manager.
This crate is part of the Dropshot OpenAPI manager.
Code that defines API
traits
can depend on dropshot-api-manager-types to get access to interfaces
exposed by the Dropshot API manager. In particular, versioned APIs will want
to depend on this crate for access to the api_versions! macro.
Re-exports§
pub use semver;
Macros§
- api_
versions - Helper macro used to define API versions.
- api_
versions_ picky - “picky” version of
api_versionsthat lets you specify the minor and patch numbers, too - paste
Structs§
- ApiIdent
- Newtype for API identifiers
- ApiSpec
File Name - Describes the path to an OpenAPI document file, relative to some root where similar documents are found
- Iter
Versions Semvers - Managed
ApiMetadata - Optional metadata that’s part of a
ManagedApiConfig. - Supported
Version - Supported
Versions - Validation
Context - Context for validation of OpenAPI specifications.
Enums§
- ApiSpec
File Name Kind - Describes how a particular OpenAPI document is named.
- Versions
- Describes how an API is versioned