Kind: Function
Source: atloria-monorepo/libs/parser-core/src/openapi/model-schemas.ts
Build components.schemas from every database-model entity the parse produced.
Returns an empty object when the repo has no such models, so callers need no special case.
Signature
tsfunction collectGenericModels(entities: Entity[]): Map<string, ModelSource>
Parameters
| Name | Type |
|---|---|
entities | Entity[] |
Returns: Map<string, ModelSource>
Was this page helpful?