Skip to content

Commit

Permalink
merged
Browse files Browse the repository at this point in the history
  • Loading branch information
fehguy committed Aug 3, 2015
2 parents b4fbe3f + 253bd9b commit 24c41c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ParameterProcessor {

public static Parameter applyAnnotations(Swagger swagger, Parameter parameter, Type type, List<Annotation> annotations) {
final AnnotationsHelper helper = new AnnotationsHelper(annotations);
if (helper.isContext()) {
if (helper.isContext() && parameter.getVendorExtensions().isEmpty()) {
return null;
}
final ParamWrapper<?> param = helper.getApiParam();
Expand Down

0 comments on commit 24c41c6

Please sign in to comment.