Fork me on GitHub
#ring-swagger
<
2016-12-15
>
mtkp00:12:47

@d5p is this a body schema or for a parameter (like a path param)?

d5p00:12:08

body schema

mtkp00:12:09

i see...

mtkp00:12:40

if you know the corresponding swagger type, you can get away with extending ring-swagger's convert-class method

mtkp00:12:29

though.. i guess that wouldn't work since st/default is a container

mtkp00:12:04

i think you'd actually want to extend the JsonSchema protocol (https://github.com/metosin/ring-swagger/blob/master/src/ring/swagger/json_schema.clj#L55) for schema-tools' Default record

d5p00:12:09

cool yeh that was my thinking that i might have to try that path