{"version":3,"file":"api_exclude.cjs","sources":["../../../src/decorators/api_exclude.ts"],"sourcesContent":["import { ExcludeMetadataStorage } from '../metadata/exclude.js'\n\n/**\n * Exclude this Controller from the generated schema.\n * Useful when working with framework integrations that autoload controllers.\n */\nexport function ApiExcludeController(): ClassDecorator {\n  return (target) => {\n    ExcludeMetadataStorage.defineMetadata(target, true)\n  }\n}\n\n/**\n * Exclude this Operation from the generated schema.\n * Useful when working with framework integrations that autoload controllers.\n */\nexport function ApiExcludeOperation(): MethodDecorator {\n  return (target, propertyKey) => {\n    ExcludeMetadataStorage.defineMetadata(target, true, propertyKey)\n  }\n}\n"],"names":["ExcludeMetadataStorage"],"mappings":";;;;AAMO,SAAS,oBAAA,GAAuC;AACrD,EAAA,OAAO,CAAC,MAAA,KAAW;AACjB,IAAAA,8BAAA,CAAuB,cAAA,CAAe,QAAQ,IAAI,CAAA;AAAA,EACpD,CAAA;AACF;AAMO,SAAS,mBAAA,GAAuC;AACrD,EAAA,OAAO,CAAC,QAAQ,WAAA,KAAgB;AAC9B,IAAAA,8BAAA,CAAuB,cAAA,CAAe,MAAA,EAAQ,IAAA,EAAM,WAAW,CAAA;AAAA,EACjE,CAAA;AACF;;;;;"}