tsoa
This commit is contained in:
11
node_modules/@tsoa/runtime/dist/routeGeneration/tsoa-route.js
generated
vendored
Normal file
11
node_modules/@tsoa/runtime/dist/routeGeneration/tsoa-route.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user