Explorar o código

Added http_code definition

baruffaldi %!s(int64=4) %!d(string=hai) anos
pai
achega
8ba6c4f7e7
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      backend/schema/definitions.json

+ 6 - 0
backend/schema/definitions.json

@@ -179,6 +179,12 @@
         "pattern": "^(?:\\*\\.)?(?:[^.*]+\\.?)+[^.]$"
       }
     },
+    "http_code": {
+      "description": "HTTP Status Code",
+      "example": 302,
+      "type": "integer",
+      "minimum": 0
+    },
     "enabled": {
       "description": "Is Enabled",
       "example": true,