UNPKG

openapi-metadata

Version:

Auto-Generate OpenAPI specifications from Typescript decorators

10 lines (7 loc) 239 B
'use strict'; function getSchemaPath(model) { const modelName = typeof model === "string" ? model : model.name; return `#/components/schemas/${modelName}`; } exports.getSchemaPath = getSchemaPath; //# sourceMappingURL=schema.cjs.map