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
- Iter
Versions Semvers - Lockstep
ApiSpec File Name - A lockstep API spec filename.
- Managed
ApiMetadata - Optional metadata that’s part of a
ManagedApiConfig. - Supported
Version - Supported
Versions - Validation
Context - Context for validation of OpenAPI documents.
- Versioned
ApiSpec File Name - A versioned API spec filename.
Enums§
- ApiSpec
File Name - Describes the path to an OpenAPI document file, relative to some root where similar documents are found.
- Versioned
ApiSpec Kind - Describes how a versioned API spec file is stored.
- Versions
- Describes how an API is versioned