Skip to content

Instantly share code, notes, and snippets.

@netmilk
Created Feb 19, 2016
Embed
What would you like to do?
Type Instance using MSON Inheritance and Fixed Type Attribute
# My API
## GET /message/{id}
+ Response 404 (application/json)
+ Attributes (Not Found)
## Data Structures
### Error (object)
- message (string)
- code (number)
### Not Found (Error)
- message: "Not found" (string, fixed)
- code: 404 (number, fixed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment