metosin / reitit

A fast data-driven routing library for Clojure/Script
https://cljdoc.org/d/metosin/reitit/
Eclipse Public License 1.0
1.4k stars 252 forks source link

Update ring-swagger-ui for support openapi 3.1.0 version #666

Closed velios closed 3 months ago

velios commented 5 months ago

The need for such a change is that reitit-openapi module creates openapi.js of 3.1.0 version, but current reitit-swagger-ui can't draw it, because dependency through root to ring-swagger-ui . ring-swagger-ui > 5.x.x version can draw openapi.js 3.1.0 version correctly

I add pic in #1011 issue, which I created before I figured out the problem

velios commented 3 months ago

Anybody here?

opqdonut commented 3 months ago

Sorry for the delay! You're right, we should upgrade ring-swagger-ui. The examples/ all use 5.9.0, but for some reason the main project.clj still depended on an older version.