Kind: Function
Source: atloria-monorepo/libs/parser-core/src/openapi/param-source-inference.ts
Walk every operation and attach a x-atloria-param-source to each path parameter whose
values a sibling collection can supply.
Conservative by construction: a binding is emitted only when the collection operation exists, returns a list of objects, and that object carries a usable identifier. Anything ambiguous is left alone — a text box is a fine outcome, a wrong dropdown is not.
Signature
tsfunction inferParameterSources(spec: OpenApiLike): number
Parameters
| Name | Type |
|---|---|
spec | OpenApiLike |
Returns: number
Was this page helpful?