Fork me on GitHub
#reitit
<
2020-05-13
>
dharrigan07:05:27

Nice! I think you're clear in the docs that if you want swagger-ui v2, then simply include the appropriate dependency. Others may like v3 πŸ™‚

ikitommi18:05:41

looked into the Jackson issue with 0.5.0-SNAPSHOT - actually there are three different Jackson module versions, originating from Jsonista, Cheshire ja org.webjars/webjars-locator. The latter two are accidentally compatibe, before Cheshire makes a release, after which, all three are uncompatible πŸ’₯

ikitommi18:05:31

Added direct dependecy to jackson-databind from metosin/reitit. To solve the JSON issues, you can either: 1. add a direct dependency metosin/jsonista as a first dependency 2. add metosin/reitit as first dependency should work, unless one has direct dependency to older version of Jackson. In case it’s easy to fix. ping @jstuartmilne

sudakatux18:05:09

when you say added you mean in clojars right. so basically if i put [metosin/reitit "0.5.0-SNAPSHOT"] as a first dependency it should work?

ikitommi19:05:08

I believe it should

ikitommi19:05:23

tested with a sample project and seemed to work.

sudakatux19:05:19

I based my project from luminus but there is quite a lot of stuff i dont need.

sudakatux19:05:32

So i did that and removed the webjars

sudakatux19:05:40

which i was not using

sudakatux19:05:50

and it worked πŸ™‚

sudakatux19:05:00

Thank u verry much