0.1.2 • Published 6 years ago

@cloudflare/json-schema-apidoc-loader v0.1.2

Weekly downloads
41
License
BSD-3-Clause
Repository
-
Last release
6 years ago

JSON Schema API Documentation Loader

Webpack loader that uses @cloudflare/json-schema-transform to convert JSON Hyper-Schema documents that do not have $refs into a form suitable for generating human-readable API documentation.

The resulting schemas validate the same set of instances as the input schemas, but simplify the structure as much as possible. Additionally, the example and cfCurl fields contain example values that documentation UIs can display.