Skip to main content

Module registry_generator

Module registry_generator 

Source
Expand description

Operation registry generation for OpenAPI specifications.

Generates a static registry of operation metadata from analyzed OpenAPI operations. The registry contains everything needed to:

  • Build CLI subcommands dynamically (names, params, help text)
  • Route and validate operations in a proxy (URL templates, param types, methods)

The generated code is pure data — no HTTP client, no clap derives, no runtime dependencies beyond serde. Consumers (CLI shims, proxy routers) interpret the registry generically.