schema 2018-08-17

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

i know you can specify an example with ‘describe’

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

i’m wondering how to do that manually

take a schema and output a json example

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