pg-mvc-service 2.0.116 → 2.0.117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1102,7 +1102,11 @@ class RequestType extends ReqResType_1.default {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
for (const key of Object.keys(property.properties)) {
|
|
1104
1104
|
if (property.properties[key].type.endsWith('?') === false) {
|
|
1105
|
-
|
|
1105
|
+
errorList.push({
|
|
1106
|
+
status: 400,
|
|
1107
|
+
code: code + '-REQUIRE_11',
|
|
1108
|
+
description: this.createErrorMessage('REQUIRE_11', [...keys, key]),
|
|
1109
|
+
});
|
|
1106
1110
|
}
|
|
1107
1111
|
switch (property.properties[key].type) {
|
|
1108
1112
|
case 'object':
|
package/package.json
CHANGED
|
@@ -1210,7 +1210,11 @@ export class RequestType extends ReqResType {
|
|
|
1210
1210
|
|
|
1211
1211
|
for (const key of Object.keys(property.properties)) {
|
|
1212
1212
|
if (property.properties[key].type.endsWith('?') === false) {
|
|
1213
|
-
|
|
1213
|
+
errorList.push({
|
|
1214
|
+
status: 400,
|
|
1215
|
+
code: code + '-REQUIRE_11',
|
|
1216
|
+
description: this.createErrorMessage('REQUIRE_11', [...keys, key]),
|
|
1217
|
+
});
|
|
1214
1218
|
}
|
|
1215
1219
|
|
|
1216
1220
|
switch (property.properties[key].type) {
|