Skip to content

Commit 253bd9b

Browse files
committed
Merge pull request #1297 from mwinkels/patch-2
Allow VendorExtensions to process @context params
2 parents 7b36965 + 7ecec30 commit 253bd9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-jaxrs/src/main/java/io/swagger/jaxrs/ParameterProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class ParameterProcessor {
3535

3636
public static Parameter applyAnnotations(Swagger swagger, Parameter parameter, Type type, List<Annotation> annotations) {
3737
final AnnotationsHelper helper = new AnnotationsHelper(annotations);
38-
if (helper.isContext()) {
38+
if (helper.isContext() && parameter.getVendorExtensions().isEmpty()) {
3939
return null;
4040
}
4141
final ParamWrapper<?> param = helper.getApiParam();

0 commit comments

Comments
 (0)