Skip to content

Commit

Permalink
headers for matches fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Murat Erkenov committed Nov 6, 2016
1 parent 09d96ec commit 25fb045
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
25 changes: 11 additions & 14 deletions v1/schema/pagination.json
@@ -1,19 +1,16 @@
{
"headers": {
"type": "object",
"properties": {
"X-First-Index": {
"$ref": "#/definitions/item_number",
"description": "Indicates the index of first item in returned portion of items"
},
"X-Last-Index": {
"$ref": "#/definitions/item_number",
"description": "Indicates the index of last item in returned portion of items"
},
"X-Total-Count": {
"$ref": "#/definitions/item_number",
"description": "Indicates total number of items retrieved by request"
}
"X-First-Index": {
"$ref": "#/definitions/item_number",
"description": "Indicates the index of first item in returned portion of items"
},
"X-Last-Index": {
"$ref": "#/definitions/item_number",
"description": "Indicates the index of last item in returned portion of items"
},
"X-Total-Count": {
"$ref": "#/definitions/item_number",
"description": "Indicates total number of items retrieved by request"
}
},
"definitions": {
Expand Down
6 changes: 6 additions & 0 deletions v1/schema/swagger.json
Expand Up @@ -205,6 +205,9 @@
"items": {
"$ref": "definitions/Match.json#/brief"
}
},
"headers": {
"$ref": "pagination.json#/headers"
}
}
}
Expand Down Expand Up @@ -235,6 +238,9 @@
"items": {
"$ref": "definitions/Match.json#/brief"
}
},
"headers": {
"$ref": "pagination.json#/headers"
}
}
}
Expand Down

0 comments on commit 25fb045

Please sign in to comment.