Kind: Function
Source: atloria-monorepo/libs/parser-core/src/openapi/response-origin.ts
A schema that documents nothing: absent, an array of anything, or an object whose every property is itself untyped.
The "every property is untyped" arm matters because an unresolvable Project[] does NOT
come back as undefined — it comes back as {type:'array', items:{}}, and an inferred
{ total: any } comes back with a property carrying no type. Both LOOK like schemas and
neither says anything, so every "did we get an answer?" test has to agree on this.
Signature
tsfunction schemaSaysNothing(schema: Record<string, unknown> | undefined): boolean
Parameters
| Name | Type |
|---|---|
schema | `Record<string, unknown> |
Returns: boolean
Was this page helpful?