ring-swagger 2019-03-18

@bohdan.mikhail has joined the channel

Does describe work with specs?

I've run into a case where it's not set (in a custom exception handler for the :compojure.api.exception/request-validation error). I'll try and find time to knock up an example repo with minimal steps to reproduce, but am vacation from tomorrow, so might not be for a week or so.

e.g. the exception handler happens before the request-injection. I presume it’s safe to reverse the order. PR welcome, after the vacations πŸ™‚

πŸ‘ 1

but there is the create-muuntaja in that namespace, if you need the instance outside of the api.

@dave.dixon c-api ships with 2.x version of the swagger-ui. You can update manually the ring-swagger-ui to get the latest version.

for specs, there is spec-tools.core/spec that can be used to add extra info to the specs. Spec-tools docs should have examples of that