json-api-schema
Version:
JSON Api Schema is a JSON dialect that can describe any Web Based API that uses JSON to exchange data.
15 lines (10 loc) • 330 B
text/coffeescript
Scope = require './scope'
class Api extends Scope
@entity("Api")
@accessors "version", ["get", "set"]
@accessors "protocols",
"types", ["get-key", "put-key", "put-keys", "delete-key"]
@children "actions", "events", "resources", "types"
constructor: (options) ->
super(options)
module.exports = Api