Extend openapi with support for .json
and .yaml
extension besides the current content negotiation mechanism
#21567
Labels
Milestone
Description
The swagger documentation refers to a mechanism were
.json
and.yaml
is used as extension on the openapi / swagger URL .Other standards like this one, seem to extend upon that.
See also discussion in: #21457
Implementation ideas
Currently, I have implemented this as a
vertx.RouteFilter
. That does the trick. I've found this solution on other places, like this one. So I guess there's more demand for this feature.The text was updated successfully, but these errors were encountered: