Cygni_backend/node_modules/@tsoa/runtime/dist/routeGeneration/tsoa-route.js

11 lines
544 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isDefaultForAdditionalPropertiesAllowed = isDefaultForAdditionalPropertiesAllowed;
/**
* For Swagger, additionalProperties is implicitly allowed. So use this function to clarify that undefined should be associated with allowing additional properties
* @param test if this is undefined then you should interpret it as a "yes"
*/
function isDefaultForAdditionalPropertiesAllowed(test) {
return test === undefined;
}
//# sourceMappingURL=tsoa-route.js.map