Skip to content

Commit

Permalink
Merge pull request payara#5335 from aubi/FISH-1068
Browse files Browse the repository at this point in the history
FISH-1068 in generated openapi omit default style for parameter
  • Loading branch information
aubi authored and JamesHillyard committed Oct 8, 2021
1 parent 3d3f798 commit d83e568
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
import org.eclipse.microprofile.openapi.models.media.Schema.SchemaType;
import org.eclipse.microprofile.openapi.models.parameters.Parameter;
import org.eclipse.microprofile.openapi.models.parameters.Parameter.In;
import org.eclipse.microprofile.openapi.models.parameters.Parameter.Style;
import org.eclipse.microprofile.openapi.models.parameters.RequestBody;
import org.eclipse.microprofile.openapi.models.responses.APIResponse;
import org.eclipse.microprofile.openapi.models.responses.APIResponses;
Expand Down Expand Up @@ -432,7 +431,6 @@ private static void addParameter(AnnotatedElement element, ApiContext context, S
Parameter newParameter = new ParameterImpl();
newParameter.setName(name);
newParameter.setIn(in);
newParameter.setStyle(Style.SIMPLE);
newParameter.setRequired(required);
SchemaImpl schema = new SchemaImpl();
String defaultValue = getDefaultValueIfPresent(element);
Expand Down

0 comments on commit d83e568

Please sign in to comment.