cloudflare / doca

A CLI tool that scaffolds API documentation based on JSON HyperSchemas.
BSD 3-Clause "New" or "Revised" License
228 stars 36 forks source link

Support "examples" from Draft 6 #14

Closed handrews closed 6 years ago

handrews commented 7 years ago

"examples" will be an official part of JSON Schema in Draft 6, so we should use it in place of our current "example". Note that "examples" is always an array, and per the spec, any "default" can be treated as an additional example.

handrews commented 6 years ago

This set of packages is being deprecated in favor of the JSON Schema Tools monorepo. Contributions are still welcome here but most work will be done on the new packages.

This issue is now tracked as cloudflare/json-schema-tools#6