UNPKG

@trapi/swagger

Version:

Generate Swagger files from a decorator APIs.

27 lines 961 B
"use strict"; /* * Copyright (c) 2023. * Author Peter Placzek (tada5hi) * For the full copyright and license information, * view the LICENSE file that was distributed with this source code. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SecurityType = exports.DocumentFormat = exports.Version = void 0; var Version; (function (Version) { Version["V2"] = "v2"; Version["V3"] = "v3"; })(Version || (exports.Version = Version = {})); var DocumentFormat; (function (DocumentFormat) { DocumentFormat["YAML"] = "yaml"; DocumentFormat["JSON"] = "json"; })(DocumentFormat || (exports.DocumentFormat = DocumentFormat = {})); var SecurityType; (function (SecurityType) { SecurityType["API_KEY"] = "apiKey"; SecurityType["BASIC"] = "basic"; SecurityType["HTTP"] = "http"; SecurityType["OAUTH2"] = "oauth2"; })(SecurityType || (exports.SecurityType = SecurityType = {})); //# sourceMappingURL=constants.js.map