Skip to main content

Module openapi

Module openapi 

Source
Expand description

Parse a subset of OpenAPI 3.x JSON into a flat endpoint list for the TUI expert browser.

Inline parameters only; $ref on parameters is not resolved.

Structs§

ApiEndpoint
ApiParameter
EndpointRegistry

Functions§

is_openapi_operation_method
Returns true if key is an OpenAPI operation method (e.g. get, post), not parameters or summary.
resolve_path_template
Replace {name} segments in an OpenAPI path template using percent-encoded values. Returns an error if any {...} placeholder remains after substitution.