ring-swagger

ring-swagger & compojure-api
Empperi 2018-07-19T06:16:07.000183Z

they are 3 and 1yo, I would guess they need to learn to read first 😛

Andreasp1994 2018-07-19T15:00:17.000608Z

True 😄.

Andreasp1994 2018-07-19T15:00:41.000079Z

Also wanted to ask.. is it possible to use ring swagger by itself without using compojure api?

ikitommi 2018-07-19T15:27:32.000482Z

@andreasp1994 sure, the public api is just few functions.

Andreasp1994 2018-07-19T15:29:11.000533Z

I can use the swagger-json to generate a swagger.json artifact right? But then how can I mount a route to it?

2018-07-19T15:47:39.000069Z

hey, I am trying to disable response coercion in compojure-api@2.0.0-alpha18. I have an endpoint which returns a pdf. If I set {:coercion nil ... toplevel everything works fine. But if I try to use the example from the wiki

(schema-coercion/create-coercion
   (assoc schema-coercion/default-options :response nil))
(both top-level, as well, as per route) I get an error. What am I missing?