Browse Source

Restrict redirect http code

Jamie Curnow 4 years ago
parent
commit
3b104710d5
1 changed files with 3 additions and 2 deletions
  1. 3 2
      backend/schema/definitions.json

+ 3 - 2
backend/schema/definitions.json

@@ -180,10 +180,11 @@
       }
     },
     "http_code": {
-      "description": "HTTP Status Code",
+      "description": "Redirect HTTP Status Code",
       "example": 302,
       "type": "integer",
-      "minimum": 0
+      "minimum": 300,
+      "maximum": 308
     },
     "scheme": {
       "description": "RFC Protocol",