Fork me on GitHub
#ring-swagger
<
2018-01-22
>
ikitommi06:01:10

@psalaberria002 for spec, add a :json-schema/example data to spec records (fields), like https://github.com/metosin/spec-tools#generating-json-schemas. With schema, here’s an example: https://github.com/metosin/ring-swagger#adding-description-to-schemas.

ikitommi06:01:07

Plan has been to move the Schema-related stuff from ring-swagger to schema-tools to clean things up and to support ClojureScript & OpenApi3. Coercion has already been copied there and for ClojureScript. Lots of issues laying around if someone want’s to contribute 😉

ikitommi06:01:13

Openapi3 would support full examples (and more!).