Skip to content

Commit 3b10471

Browse files
committedMar 17, 2021
Restrict redirect http code
1 parent 74db000 commit 3b10471

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎backend/schema/definitions.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,11 @@
180180
}
181181
},
182182
"http_code": {
183-
"description": "HTTP Status Code",
183+
"description": "Redirect HTTP Status Code",
184184
"example": 302,
185185
"type": "integer",
186-
"minimum": 0
186+
"minimum": 300,
187+
"maximum": 308
187188
},
188189
"scheme": {
189190
"description": "RFC Protocol",

0 commit comments

Comments
 (0)
Please sign in to comment.