{"version":3,"file":"schema.cjs","sources":["../../../src/utils/schema.ts"],"sourcesContent":["/**\n * Returns schema path from a class constructor or a schema name.\n */\nexport function getSchemaPath(model: string | Function): string {\n  const modelName = typeof model === 'string' ? model : model.name\n  return `#/components/schemas/${modelName}`\n}\n"],"names":[],"mappings":";;AAGO,SAAS,cAAc,KAAA,EAAkC;AAC9D,EAAA,MAAM,SAAA,GAAY,OAAO,KAAA,KAAU,QAAA,GAAW,QAAQ,KAAA,CAAM,IAAA;AAC5D,EAAA,OAAO,wBAAwB,SAAS,CAAA,CAAA;AAC1C;;;;"}