@trapi/swagger
Version:
Generate Swagger files from a decorator APIs.
40 lines • 1.56 kB
JavaScript
;
/*
* 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.DataTypeName = exports.DataFormatName = exports.TransferProtocol = void 0;
var TransferProtocol;
(function (TransferProtocol) {
TransferProtocol["HTTP"] = "http";
TransferProtocol["HTTPS"] = "https";
TransferProtocol["WS"] = "ws";
TransferProtocol["WSS"] = "wss";
})(TransferProtocol || (exports.TransferProtocol = TransferProtocol = {}));
var DataFormatName;
(function (DataFormatName) {
DataFormatName["INT_32"] = "int32";
DataFormatName["INT_64"] = "int64";
DataFormatName["FLOAT"] = "float";
DataFormatName["DOUBLE"] = "double";
DataFormatName["BYTE"] = "byte";
DataFormatName["BINARY"] = "binary";
DataFormatName["DATE"] = "date";
DataFormatName["DATE_TIME"] = "date-time";
DataFormatName["PASSWORD"] = "password";
})(DataFormatName || (exports.DataFormatName = DataFormatName = {}));
var DataTypeName;
(function (DataTypeName) {
DataTypeName["VOID"] = "void";
DataTypeName["INTEGER"] = "integer";
DataTypeName["NUMBER"] = "number";
DataTypeName["BOOLEAN"] = "boolean";
DataTypeName["STRING"] = "string";
DataTypeName["ARRAY"] = "array";
DataTypeName["OBJECT"] = "object";
DataTypeName["FILE"] = "file";
})(DataTypeName || (exports.DataTypeName = DataTypeName = {}));
//# sourceMappingURL=constants.js.map