GERONIMO-6687 use default parameter style instead of hardcoding simple
authorDennis Kieselhorst <mail@dekies.de>
Fri, 8 Feb 2019 11:51:30 +0000 (12:51 +0100)
committerDennis Kieselhorst <mail@dekies.de>
Fri, 8 Feb 2019 11:51:30 +0000 (12:51 +0100)
geronimo-openapi-impl/src/main/java/org/apache/geronimo/microprofile/openapi/impl/processor/AnnotationProcessor.java

index 03b61f3..4bcf32b 100644 (file)
@@ -459,8 +459,7 @@ public class AnnotationProcessor {
                                     .name(annotatedElement.getAnnotation(QueryParam.class).value());
                         }
                         parameter.schema(schemaProcessor.mapSchemaFromClass(
-                                    () -> getOrCreateComponents(openAPI), annotatedElement.getType()))
-                                 .style(org.eclipse.microprofile.openapi.models.parameters.Parameter.Style.SIMPLE);
+                                    () -> getOrCreateComponents(openAPI), annotatedElement.getType()));
                         return parameter;
                     }
                     return null;