Skip to content

Commit acff285

Browse files
committed
fix: add 301 for highscores in docs
1 parent 859d85a commit acff285

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎docs/swagger-dev.json‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,6 +1951,15 @@
19511951
"$ref": "#/definitions/main.HighscoresResponse"
19521952
}
19531953
},
1954+
"301": {
1955+
"description": "Permanent redirect to the canonical category URL",
1956+
"headers": {
1957+
"Location": {
1958+
"type": "string",
1959+
"description": "Canonical category URL"
1960+
}
1961+
}
1962+
},
19541963
"400": {
19551964
"description": "Bad Request",
19561965
"schema": {

‎docs/swagger.json‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,6 +1951,15 @@
19511951
"$ref": "#/definitions/main.HighscoresResponse"
19521952
}
19531953
},
1954+
"301": {
1955+
"description": "Permanent redirect to the canonical category URL",
1956+
"headers": {
1957+
"Location": {
1958+
"type": "string",
1959+
"description": "Canonical category URL"
1960+
}
1961+
}
1962+
},
19541963
"400": {
19551964
"description": "Bad Request",
19561965
"schema": {

0 commit comments

Comments
 (0)