Skip to content

Commit c5685ac

Browse files
committed
Merge pull request #23 from refractproject/smizell/fix-more-examples
Fix resource namespace examples
2 parents ddb7338 + 50f7b57 commit c5685ac

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

namespaces/resource-namespace.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,14 @@ The Resource representation with its available transitions and attributes.
114114
"href": "/questions/{question_id}",
115115
"hrefVariables": {
116116
"element": "hrefVariables",
117-
"attributes": {
118-
"name": "question_id"
119-
},
120-
"content": null
117+
"content": [
118+
{
119+
"element": "string",
120+
"meta": {
121+
"name": "question_id"
122+
}
123+
}
124+
]
121125
}
122126
},
123127
"content": [
@@ -223,7 +227,7 @@ message pair. A transaction example MUST contain exactly one HTTP request and on
223227
{
224228
"element": "httpResponse",
225229
"attributes": {
226-
"status": 200
230+
"statusCode": 200
227231
},
228232
"content": [
229233
{

0 commit comments

Comments
 (0)