Based on JSON Schema, this is a series of schemata that define a way to document a HyperREST API.
An API (api.json) can be defined by
- a host
- a basePath
- an entryPoint
- resources,
and each resource (api-resource.json) can be defined by- a title
- a path
- identifyingRels
- rels,
and each rel (rel.json) can be defined by- operations
and each operation (operation.json) can be defined by- exposedSchema (accepted/patch/provided/error)
- method
- parameters
- headers (operation-header.json)
- schema
- response
- responses
and each response (operation-response.json) can be defined by- httpStatusCode
- httpStatusMessage
- subHttpCodes
- headers (operation-header.json)
- targetSchema
- operations
And each schema is a representation (representation.json) identified by a (vendor) media-type, and defined by a JSON Hyper-Schema.
Apache 2.0