Expand description
Server operation selectors.
Three forms (priority order in spec resolution):
operationId— bare identifierMETHOD /path— exact verb + path matchtag:<name>— expands to every op with that tag
Parsing is spec-independent; resolution requires an OperationIndex.
Structs§
- Resolution
- Outcome of resolving a list of selectors against an index.
Enums§
- Selector
- One parsed selector. Construct via
Selector::parse. - Selector
Parse Error - Selector
Resolve Error - Reason resolution failed, with a fuzzy-match suggestion when possible.
Functions§
- resolve
- Resolve a list of parsed selectors against an
OperationIndex. Returns either every operation matched (in input order, deduped) or the first error encountered (fail-fast — codegen requires every selector to bind so unbound entries don’t silently get dropped).