ring-swagger

ring-swagger & compojure-api
jmckitrick 2018-04-04T12:41:30.000074Z

How can I have compojure-api infer and send a content-type header with responses?

igrishaev 2018-04-04T13:15:43.000411Z

Did anybody face the following issue? I’ve got lots of json schemas in Swagger, some of them are even recursive. When rendering the UI, swagger fires an exception RangeError: Maximum call stack size exceeded. How can I limit $refs depth?

ikitommi 2018-04-04T19:31:53.000497Z

@igrishaev I think this might be fixed in the latest swagger-uis. See https://github.com/swagger-api/swagger-ui/issues/3012

ikitommi 2018-04-04T19:33:28.000397Z

@jmckitrick could you give an example what you would like to see inferred?

jmckitrick 2018-04-04T20:20:42.000457Z

@ikitommi I’m probably doing something wrong… but how do I make a JSON response infer that content type? Right now, it’s nil.