Skip to content

Instantly share code, notes, and snippets.

@huiyiqun
Created July 29, 2015 06:40
Show Gist options
  • Save huiyiqun/6ab9e70d64d6d29551fd to your computer and use it in GitHub Desktop.
Save huiyiqun/6ab9e70d64d6d29551fd to your computer and use it in GitHub Desktop.
HOST: https://bluepaste.herokuapp.com
# Special Case
I'd like to an array whose member is limited to special object but this object should not be fixed.
# Some Resource [/]
## Result not perfect [GET]
+ Response 200 (application/json; charset=utf8)
+ Attributes (array)
+ (object, fixed) - object with only attributes `a` and `b` other is not allowed
+ a (string)
+ b (int)
## Result also not perfect [GET]
+ Response 200 (application/json; charset=utf8)
+ Attributes (array)
+ (object) - this mean nothing to the member of the array
+ a (string)
+ b (int)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment