Created
December 24, 2015 03:55
-
-
Save hassansin/495ce4603f77682398a0 to your computer and use it in GitHub Desktop.
Blueprint Circular Reference Error
This file contains hidden or 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
FORMAT: 1A | |
HOST: https://api-sandbox.foxycart.com | |
# FoxyCart | |
# FoxyCart API Root [/] | |
## API starting point [GET] | |
+ Request | |
+ Headers | |
FOXY-API-VERSION: 1 | |
Accept: application/hal+json | |
+ Response 200 (application/hal+json) | |
+ Attributes (HAL Resource) | |
# Data Structures | |
## HAL Resource (object) | |
### Properties | |
- `_embedded` (object) | |
- Properties | |
- *(Relation)* (array[HAL Resource]) | |
## Relation (string) | |
HAL introduces for Link relation types an extended representation of RFC 5988: | |
This file contains hidden or 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
{ | |
"statusCode":400, | |
"message":"base type 'HAL Resource' circularly referencing itself", | |
"type":"parseError", | |
"location":[ | |
{ | |
"index":439, | |
"length":35 | |
} | |
], | |
"line":31, | |
"code":4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment