We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9676cc commit 35f0721Copy full SHA for 35f0721
modules/swagger-compat-spec-parser/src/main/java/io/swagger/parser/SwaggerCompatConverter.java
@@ -180,7 +180,8 @@ else if(ParamType.FORM.equals(param.getParamType())) {
180
181
output.setName(param.getName());
182
output.setDescription(param.getDescription());
183
- output.setRequired(param.getRequired());
+ if(param.getRequired() != null)
184
+ output.setRequired(param.getRequired());
185
186
Property property = null;
187
String type = param.getType() == null ? null : param.getType().toString();
0 commit comments