Kind: Function
Source: atloria-monorepo/libs/parser-core/src/openapi/param-source-inference.ts
Locate the array of records in a response schema and describe how to read it. Returns null when the response is not a list of objects — a scalar or a single record has no candidate values to offer.
Signature
tsfunction describeItems(schema: SchemaLike | undefined, components: Record<string, SchemaLike>): { itemsPath: string; item: SchemaLike } | null
Parameters
| Name | Type |
|---|---|
schema | `SchemaLike |
components | Record<string, SchemaLike> |
Returns: { itemsPath: string; item: SchemaLike } | null
Was this page helpful?