ring-swagger & compojure-api
ro6 2018-10-25T14:25:10.000100Z

ro6 2018-10-25T14:27:18.000100Z

@ikitommi Hello! Just getting set up with compojure-api and having a strange error when trying to access the /swagger.json endpoint. My best guess is some version incompatibility in the Jackson libraries? I'm going to run on Datomic Ions, so I'm pinned at com.fasterxml.jackson.core/jackson-core {:mvn/version "2.9.5"}

ikitommi 2018-10-25T15:00:07.000100Z

@robert.mather.rmm it’s an issue in frankiesardo/linked, see https://github.com/frankiesardo/linked/issues/8. DId a PR to fix that 3 months ago, not published yet. Feel free to poke Frankie to get it out. Meanwhile, adding direct dependency to a working fork should fix it: [ikitommi/linked "1.3.1-alpha1"].

ro6 2018-10-25T15:04:18.000100Z

@ikitommi Thank you sir, testing now.

ro6 2018-10-25T15:17:23.000100Z

@ikitommi Didn't work on first pass, looking into the tools.deps dependency tree now

ro6 2018-10-25T15:20:09.000100Z

@ikitommi Tested and working after adding explicit exclusion on the other one. Thanks so much! That would have taken me hours to find on my own.

ro6 2018-10-25T18:27:37.000100Z

Has anyone used compojure-api behind AWS API Gateway, or any situation where your sites root is actually on a subroute? Swagger-ui isn't working for me and I think it's because it assumes it's hosted on the root.

ikitommi 2018-10-25T18:57:32.000100Z

there is :basePath property in the swagger spec for that.

ro6 2018-10-25T18:59:44.000100Z

great, thanks