diff --git a/backend/embed/api_docs/components/HealthObject.json b/backend/embed/api_docs/components/HealthObject.json index c58261a7..eee1e5f1 100644 --- a/backend/embed/api_docs/components/HealthObject.json +++ b/backend/embed/api_docs/components/HealthObject.json @@ -7,34 +7,28 @@ "version": { "type": "string", "description": "Version", - "example": "3.0.0", "minLength": 1 }, "commit": { "type": "string", "description": "Commit hash", - "example": "946b88f", "minLength": 7 }, "healthy": { "type": "boolean", - "description": "Healthy?", - "example": true + "description": "Healthy?" }, "setup": { "type": "boolean", - "description": "Is the application set up?", - "example": true + "description": "Is the application set up?" }, "error_reporting": { "type": "boolean", - "description": "Will the application send any error reporting?", - "example": true + "description": "Will the application send any error reporting?" }, "acme.sh": { "type": "string", "description": "Acme.sh version", - "example": "v3.0.0", "minLength": 1 } } diff --git a/backend/embed/api_docs/components/TokenObject.json b/backend/embed/api_docs/components/TokenObject.json index 81c5d205..88863f4c 100644 --- a/backend/embed/api_docs/components/TokenObject.json +++ b/backend/embed/api_docs/components/TokenObject.json @@ -7,13 +7,11 @@ "expires": { "type": "number", "description": "Token Expiry Unix Time", - "example": 1566540249, "minimum": 1 }, "token": { "type": "string", - "description": "JWT Token", - "example": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.ey...xaHKYr3Kk6MvkUjcC4" + "description": "JWT Token" } } } diff --git a/backend/embed/api_docs/paths/certificates-authorities/caID/get.json b/backend/embed/api_docs/paths/certificates-authorities/caID/get.json index bfc22e44..2034faaa 100644 --- a/backend/embed/api_docs/paths/certificates-authorities/caID/get.json +++ b/backend/embed/api_docs/paths/certificates-authorities/caID/get.json @@ -21,6 +21,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/certificates-authorities/caID/put.json b/backend/embed/api_docs/paths/certificates-authorities/caID/put.json index 37ddd598..0e18611e 100644 --- a/backend/embed/api_docs/paths/certificates-authorities/caID/put.json +++ b/backend/embed/api_docs/paths/certificates-authorities/caID/put.json @@ -30,6 +30,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/certificates-authorities/get.json b/backend/embed/api_docs/paths/certificates-authorities/get.json index ed04f175..f2e1d4c7 100644 --- a/backend/embed/api_docs/paths/certificates-authorities/get.json +++ b/backend/embed/api_docs/paths/certificates-authorities/get.json @@ -37,6 +37,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/certificates-authorities/post.json b/backend/embed/api_docs/paths/certificates-authorities/post.json index 19b14888..bac0df52 100644 --- a/backend/embed/api_docs/paths/certificates-authorities/post.json +++ b/backend/embed/api_docs/paths/certificates-authorities/post.json @@ -17,6 +17,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/certificates/certificateID/get.json b/backend/embed/api_docs/paths/certificates/certificateID/get.json index f537d1fe..637e1e19 100644 --- a/backend/embed/api_docs/paths/certificates/certificateID/get.json +++ b/backend/embed/api_docs/paths/certificates/certificateID/get.json @@ -21,6 +21,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/certificates/certificateID/put.json b/backend/embed/api_docs/paths/certificates/certificateID/put.json index 9a86d31a..01196153 100644 --- a/backend/embed/api_docs/paths/certificates/certificateID/put.json +++ b/backend/embed/api_docs/paths/certificates/certificateID/put.json @@ -30,6 +30,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/certificates/get.json b/backend/embed/api_docs/paths/certificates/get.json index 4534c869..b3113e67 100644 --- a/backend/embed/api_docs/paths/certificates/get.json +++ b/backend/embed/api_docs/paths/certificates/get.json @@ -37,6 +37,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/certificates/post.json b/backend/embed/api_docs/paths/certificates/post.json index 1d8fa665..7b93d9af 100644 --- a/backend/embed/api_docs/paths/certificates/post.json +++ b/backend/embed/api_docs/paths/certificates/post.json @@ -17,6 +17,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/config/get.json b/backend/embed/api_docs/paths/config/get.json index ea1f0701..05a083b2 100644 --- a/backend/embed/api_docs/paths/config/get.json +++ b/backend/embed/api_docs/paths/config/get.json @@ -7,9 +7,8 @@ "content": { "application/json": { "schema": { - "required": [ - "result" - ], + "type": "object", + "required": ["result"], "properties": { "result": { "$ref": "#/components/schemas/ConfigObject" @@ -33,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/backend/embed/api_docs/paths/dns-providers/get.json b/backend/embed/api_docs/paths/dns-providers/get.json index fff27f0f..c3e281d7 100644 --- a/backend/embed/api_docs/paths/dns-providers/get.json +++ b/backend/embed/api_docs/paths/dns-providers/get.json @@ -37,6 +37,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/dns-providers/post.json b/backend/embed/api_docs/paths/dns-providers/post.json index f653f8ce..f7d142a8 100644 --- a/backend/embed/api_docs/paths/dns-providers/post.json +++ b/backend/embed/api_docs/paths/dns-providers/post.json @@ -17,6 +17,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/dns-providers/providerID/get.json b/backend/embed/api_docs/paths/dns-providers/providerID/get.json index b4e16a28..74336602 100644 --- a/backend/embed/api_docs/paths/dns-providers/providerID/get.json +++ b/backend/embed/api_docs/paths/dns-providers/providerID/get.json @@ -21,6 +21,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/dns-providers/providerID/put.json b/backend/embed/api_docs/paths/dns-providers/providerID/put.json index c53003d8..b5709994 100644 --- a/backend/embed/api_docs/paths/dns-providers/providerID/put.json +++ b/backend/embed/api_docs/paths/dns-providers/providerID/put.json @@ -30,6 +30,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/get.json b/backend/embed/api_docs/paths/get.json index 0f9506f1..181e8a8d 100644 --- a/backend/embed/api_docs/paths/get.json +++ b/backend/embed/api_docs/paths/get.json @@ -7,9 +7,8 @@ "content": { "application/json": { "schema": { - "required": [ - "result" - ], + "type": "object", + "required": ["result"], "properties": { "result": { "$ref": "#/components/schemas/HealthObject" @@ -44,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/backend/embed/api_docs/paths/hosts/get.json b/backend/embed/api_docs/paths/hosts/get.json index 626a9bc8..ae82a57d 100644 --- a/backend/embed/api_docs/paths/hosts/get.json +++ b/backend/embed/api_docs/paths/hosts/get.json @@ -37,6 +37,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/hosts/hostID/get.json b/backend/embed/api_docs/paths/hosts/hostID/get.json index 012bcd08..0f2ca20d 100644 --- a/backend/embed/api_docs/paths/hosts/hostID/get.json +++ b/backend/embed/api_docs/paths/hosts/hostID/get.json @@ -21,6 +21,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/hosts/hostID/nginx-config/get.json b/backend/embed/api_docs/paths/hosts/hostID/nginx-config/get.json index 909a55b4..ea7be7ab 100644 --- a/backend/embed/api_docs/paths/hosts/hostID/nginx-config/get.json +++ b/backend/embed/api_docs/paths/hosts/hostID/nginx-config/get.json @@ -21,6 +21,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/hosts/hostID/put.json b/backend/embed/api_docs/paths/hosts/hostID/put.json index a0bbfb3b..cff143be 100644 --- a/backend/embed/api_docs/paths/hosts/hostID/put.json +++ b/backend/embed/api_docs/paths/hosts/hostID/put.json @@ -30,6 +30,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/hosts/post.json b/backend/embed/api_docs/paths/hosts/post.json index 655c6bd4..6e9d605e 100644 --- a/backend/embed/api_docs/paths/hosts/post.json +++ b/backend/embed/api_docs/paths/hosts/post.json @@ -17,6 +17,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/nginx-templates/get.json b/backend/embed/api_docs/paths/nginx-templates/get.json index 59adbdfe..89f389e5 100644 --- a/backend/embed/api_docs/paths/nginx-templates/get.json +++ b/backend/embed/api_docs/paths/nginx-templates/get.json @@ -37,6 +37,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/nginx-templates/post.json b/backend/embed/api_docs/paths/nginx-templates/post.json index c3d37a04..3963d5d5 100644 --- a/backend/embed/api_docs/paths/nginx-templates/post.json +++ b/backend/embed/api_docs/paths/nginx-templates/post.json @@ -17,6 +17,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/nginx-templates/templateID/get.json b/backend/embed/api_docs/paths/nginx-templates/templateID/get.json index d783ad7b..9cb2097f 100644 --- a/backend/embed/api_docs/paths/nginx-templates/templateID/get.json +++ b/backend/embed/api_docs/paths/nginx-templates/templateID/get.json @@ -21,6 +21,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/nginx-templates/templateID/put.json b/backend/embed/api_docs/paths/nginx-templates/templateID/put.json index a2ec3766..84602175 100644 --- a/backend/embed/api_docs/paths/nginx-templates/templateID/put.json +++ b/backend/embed/api_docs/paths/nginx-templates/templateID/put.json @@ -30,6 +30,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/settings/get.json b/backend/embed/api_docs/paths/settings/get.json index fdfb8025..09b98b8f 100644 --- a/backend/embed/api_docs/paths/settings/get.json +++ b/backend/embed/api_docs/paths/settings/get.json @@ -37,6 +37,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/settings/name/get.json b/backend/embed/api_docs/paths/settings/name/get.json index e35e9361..38afc7ba 100644 --- a/backend/embed/api_docs/paths/settings/name/get.json +++ b/backend/embed/api_docs/paths/settings/name/get.json @@ -21,6 +21,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/settings/name/put.json b/backend/embed/api_docs/paths/settings/name/put.json index a386856a..f7d5dc78 100644 --- a/backend/embed/api_docs/paths/settings/name/put.json +++ b/backend/embed/api_docs/paths/settings/name/put.json @@ -30,6 +30,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/settings/post.json b/backend/embed/api_docs/paths/settings/post.json index 09d414e4..97fa6237 100644 --- a/backend/embed/api_docs/paths/settings/post.json +++ b/backend/embed/api_docs/paths/settings/post.json @@ -17,6 +17,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/streams/get.json b/backend/embed/api_docs/paths/streams/get.json index 482212d1..9964e47e 100644 --- a/backend/embed/api_docs/paths/streams/get.json +++ b/backend/embed/api_docs/paths/streams/get.json @@ -1,9 +1,7 @@ { "operationId": "getStreams", "summary": "Get a list of Streams", - "tags": [ - "Streams" - ], + "tags": ["Streams"], "parameters": [ { "in": "query", @@ -39,9 +37,8 @@ "content": { "application/json": { "schema": { - "required": [ - "result" - ], + "type": "object", + "required": ["result"], "properties": { "result": { "$ref": "#/components/schemas/StreamList" @@ -61,9 +58,7 @@ "direction": "ASC" } ], - "items": [ - "TODO" - ] + "items": ["TODO"] } } } @@ -72,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/backend/embed/api_docs/paths/streams/post.json b/backend/embed/api_docs/paths/streams/post.json index d660eed7..28f56da6 100644 --- a/backend/embed/api_docs/paths/streams/post.json +++ b/backend/embed/api_docs/paths/streams/post.json @@ -17,6 +17,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/streams/streamID/get.json b/backend/embed/api_docs/paths/streams/streamID/get.json index 94e54c3f..97a4a76c 100644 --- a/backend/embed/api_docs/paths/streams/streamID/get.json +++ b/backend/embed/api_docs/paths/streams/streamID/get.json @@ -1,9 +1,7 @@ { "operationId": "getStream", "summary": "Get a Stream object by ID", - "tags": [ - "Streams" - ], + "tags": ["Streams"], "parameters": [ { "in": "path", @@ -23,9 +21,8 @@ "content": { "application/json": { "schema": { - "required": [ - "result" - ], + "type": "object", + "required": ["result"], "properties": { "result": { "$ref": "#/components/schemas/StreamObject" @@ -43,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/backend/embed/api_docs/paths/streams/streamID/put.json b/backend/embed/api_docs/paths/streams/streamID/put.json index 4baa882e..787905c5 100644 --- a/backend/embed/api_docs/paths/streams/streamID/put.json +++ b/backend/embed/api_docs/paths/streams/streamID/put.json @@ -1,9 +1,7 @@ { "operationId": "updateStream", "summary": "Update an existing Stream", - "tags": [ - "Streams" - ], + "tags": ["Streams"], "parameters": [ { "in": "path", @@ -32,9 +30,8 @@ "content": { "application/json": { "schema": { - "required": [ - "result" - ], + "type": "object", + "required": ["result"], "properties": { "result": { "$ref": "#/components/schemas/StreamObject" @@ -52,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/backend/embed/api_docs/paths/tokens/get.json b/backend/embed/api_docs/paths/tokens/get.json index 902478e5..95d175f6 100644 --- a/backend/embed/api_docs/paths/tokens/get.json +++ b/backend/embed/api_docs/paths/tokens/get.json @@ -8,6 +8,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/tokens/post.json b/backend/embed/api_docs/paths/tokens/post.json index 4af11213..9c047cc4 100644 --- a/backend/embed/api_docs/paths/tokens/post.json +++ b/backend/embed/api_docs/paths/tokens/post.json @@ -17,6 +17,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/tokens/sse/post.json b/backend/embed/api_docs/paths/tokens/sse/post.json index 8e547a05..1646f84f 100644 --- a/backend/embed/api_docs/paths/tokens/sse/post.json +++ b/backend/embed/api_docs/paths/tokens/sse/post.json @@ -8,6 +8,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/upstreams/get.json b/backend/embed/api_docs/paths/upstreams/get.json index 1067d26c..6f96c709 100644 --- a/backend/embed/api_docs/paths/upstreams/get.json +++ b/backend/embed/api_docs/paths/upstreams/get.json @@ -37,6 +37,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/upstreams/post.json b/backend/embed/api_docs/paths/upstreams/post.json index d4f588c0..13cdeaac 100644 --- a/backend/embed/api_docs/paths/upstreams/post.json +++ b/backend/embed/api_docs/paths/upstreams/post.json @@ -17,6 +17,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/upstreams/upstreamID/get.json b/backend/embed/api_docs/paths/upstreams/upstreamID/get.json index 4d283a6e..3ad8305c 100644 --- a/backend/embed/api_docs/paths/upstreams/upstreamID/get.json +++ b/backend/embed/api_docs/paths/upstreams/upstreamID/get.json @@ -21,6 +21,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/upstreams/upstreamID/nginx-config/get.json b/backend/embed/api_docs/paths/upstreams/upstreamID/nginx-config/get.json index 694246b4..f17e4e6d 100644 --- a/backend/embed/api_docs/paths/upstreams/upstreamID/nginx-config/get.json +++ b/backend/embed/api_docs/paths/upstreams/upstreamID/nginx-config/get.json @@ -21,6 +21,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/upstreams/upstreamID/put.json b/backend/embed/api_docs/paths/upstreams/upstreamID/put.json index 78c9d345..4df64537 100644 --- a/backend/embed/api_docs/paths/upstreams/upstreamID/put.json +++ b/backend/embed/api_docs/paths/upstreams/upstreamID/put.json @@ -30,6 +30,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/users/get.json b/backend/embed/api_docs/paths/users/get.json index 987a7f8e..9d8ea419 100644 --- a/backend/embed/api_docs/paths/users/get.json +++ b/backend/embed/api_docs/paths/users/get.json @@ -37,6 +37,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/users/userID/auth/post.json b/backend/embed/api_docs/paths/users/userID/auth/post.json index 107943d2..ce80e960 100644 --- a/backend/embed/api_docs/paths/users/userID/auth/post.json +++ b/backend/embed/api_docs/paths/users/userID/auth/post.json @@ -38,6 +38,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { diff --git a/backend/embed/api_docs/paths/users/userID/get.json b/backend/embed/api_docs/paths/users/userID/get.json index bf10f845..ace15a83 100644 --- a/backend/embed/api_docs/paths/users/userID/get.json +++ b/backend/embed/api_docs/paths/users/userID/get.json @@ -29,6 +29,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": {