openapi-contract-macros
Proc-macro implementation crate for openapi-contract. It exposes
the api! and generate_types! macros, which validate HTTP calls and
generate request/response types against an OpenAPI 3.x spec at compile
time.
This crate is an implementation detail. Don't depend on it directly
— depend on openapi-contract instead, which re-exports both
macros and the runtime types (ApiClient, ApiRequest, ApiError,
SseStream, …) they produce.
See the main README for usage, examples, and the full feature list.