Skip to content

SYNTHESIZED_PATH_PARAM_KEY

reference
1 min readUpdated

Kind: Constant

Source: atloria-monorepo/libs/parser-core/src/openapi/path-parameters.ts

Marks a parameter that exists only because the URL demanded one.

Kept honest on purpose: a bare {type: string} recovered from the path template makes an endpoint usable where the alternative is unusable, but it carries none of the type or prose a parser reading the source could have supplied. Anything wearing this key is a gap in a parser, and the count of them is the metric that says so.

Was this page helpful?

Download as PDF