Skip to content

Commit e37c7e1

Browse files
committed
Removed unneccessary code block
1 parent 1c13dad commit e37c7e1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libV2/validationUtils.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,10 +1186,6 @@ function resolveFormParamSchema (schema, schemaKey, encodingObj, requestParams,
11861186
resolvedProp.required = true;
11871187
}
11881188

1189-
if (_.isUndefined(metaInfo.required) && _.includes(_.get(schema, 'required'), propName)) {
1190-
resolvedProp.required = true;
1191-
}
1192-
11931189
pSerialisationInfo = getParamSerialisationInfo(resolvedProp, PARAMETER_SOURCE.REQUEST,
11941190
components, options);
11951191
isPropSeparable = _.includes(['form', 'deepObject'], pSerialisationInfo.style);

0 commit comments

Comments
 (0)