-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
How to reproduce:
- have query parameter
- set explode = Explode.FALSE
- generate
Observed behaviour:
- openApi does not specify "explode: false", which per the specs defaults to true for query params (and only for query params)
Expected Behaviour:
- explode: false is set.
Attached:
Link to specs Specs 3.0.0
Minimun not-Working example:
package com.swarco.sts.cip.vr.bern.vrgateway.bl;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.enums.Explode;
import io.swagger.v3.oas.annotations.enums.ParameterIn;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
@Path("/bar")
class Bar {
@GET
@Path("")
@Produces({"application/json"})
public void test(
@Parameter(in = ParameterIn.QUERY, name = "blub", explode = Explode.FALSE) Long[] ids
) {}
}
albertodiazdorado and periardy
Metadata
Metadata
Assignees
Labels
No labels