Function: resolveSchema()
resolveSchema(
schema,spec):ResolvedSchema
Defined in: schema.ts:122
Resolves a schema down to a single object shape: follows a top-level $ref
and merges oneOf / anyOf alternatives (union of properties, intersection
of required) so the caller sees one flat property set.
Parameters
| Parameter | Type |
|---|---|
schema | Record<string, unknown> | undefined |
spec | OpenApiSpec |
Returns
ResolvedSchema