Kind: Function
Source: atloria-monorepo/libs/parser-core/src/openapi/response-shape.ts
The OpenAPI responses object for a classified shape.
Every branch states something true. manual is the interesting one: it publishes a described
200 with NO content schema, which says "there is a response and we could not describe it" —
distinct both from a fabricated schema and from an operation that documents nothing at all.
Signature
tsfunction responsesForShape(shape: ResponseShape): Record<string, unknown>
Parameters
| Name | Type |
|---|---|
shape | ResponseShape |
Returns: Record<string, unknown>
Was this page helpful?