UNPKG

openapi-metadata

Version:

Auto-Generate OpenAPI specifications from Typescript decorators

17 lines (13 loc) 682 B
'use strict'; const reflectMetadataMissing = require('../shared/openapi-metadata.B1TUxh8W.cjs'); const symbolKeysNotSupported = require('../shared/openapi-metadata.CkXXOeXr.cjs'); class InvalidConfigurationError extends Error { constructor(message) { super(`Invalid configuration: ${message}`); Object.setPrototypeOf(this, new.target.prototype); } } exports.NoExplicitTypeError = reflectMetadataMissing.NoExplicitTypeError; exports.ReflectMetadataMissingError = reflectMetadataMissing.ReflectMetadataMissingError; exports.SymbolKeysNotSupportedError = symbolKeysNotSupported.SymbolKeysNotSupportedError; exports.InvalidConfigurationError = InvalidConfigurationError;