UNPKG

openapi-metadata

Version:

Auto-Generate OpenAPI specifications from Typescript decorators

8 lines (6 loc) 211 B
function getSchemaPath(model) { const modelName = typeof model === "string" ? model : model.name; return `#/components/schemas/${modelName}`; } export { getSchemaPath }; //# sourceMappingURL=schema.mjs.map