Bug Report: OpenAPI @Parameter(... explode = Explode.???) gives stacktrace/FISH-5798 #5436
Labels
Status: Accepted
Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
When writing OpenAPI documentation and a repeated query-parameter is wanted OpenAPI generation fails.
Using
to describe a repeated parameter (ie.
?name=a&name=b&name=c
). A valid openapi yaml is expected on/openapi
Expected Outcome
Status 200 from
/openapi
Current Outcome
Status 500 from
/openapi
and this stacktrace:Steps to reproduce
Environment
Culprit?
Payara/appserver/payara-appserver-modules/microprofile/openapi/src/main/java/fish/payara/microprofile/openapi/impl/model/parameters/ParameterImpl.java
Line 102 in 95e95b5
But annotation is from:
So I would expect something about EnumModel.class like the parameter "in", instead of Boolean.class.
The text was updated successfully, but these errors were encountered: