Created
July 29, 2015 06:40
-
-
Save huiyiqun/6ab9e70d64d6d29551fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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