schema

2018-08-17T18:32:22.000100Z

so compojure-api takes schemas and generates swagger definitions with examples for the schema object

2018-08-17T18:32:32.000100Z

i know you can specify an example with ‘describe’

2018-08-17T18:32:42.000100Z

but if you don’t specify one it will generate one just based on the type

2018-08-17T18:33:05.000100Z

i’m wondering how to do that manually

2018-08-17T18:33:17.000100Z

take a schema and output a json example

2018-08-17T18:34:08.000100Z

now that i think about it i should be asking in #ring-swagger i think