diff --git a/backend/embed/api_docs/paths/tokens/post.json b/backend/embed/api_docs/paths/tokens/post.json index 55d76ec1..4af11213 100644 --- a/backend/embed/api_docs/paths/tokens/post.json +++ b/backend/embed/api_docs/paths/tokens/post.json @@ -48,6 +48,7 @@ "required": ["error"], "properties": { "result": { + "type": "object", "nullable": true }, "error": { diff --git a/backend/embed/api_docs/paths/users/post.json b/backend/embed/api_docs/paths/users/post.json index dd165faa..e2f270d3 100644 --- a/backend/embed/api_docs/paths/users/post.json +++ b/backend/embed/api_docs/paths/users/post.json @@ -17,6 +17,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { @@ -52,9 +53,11 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["error"], "properties": { "result": { + "type": "object", "nullable": true }, "error": { diff --git a/backend/embed/api_docs/paths/users/userID/put.json b/backend/embed/api_docs/paths/users/userID/put.json index 752ba9e1..c1bb9fa8 100644 --- a/backend/embed/api_docs/paths/users/userID/put.json +++ b/backend/embed/api_docs/paths/users/userID/put.json @@ -38,6 +38,7 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["result"], "properties": { "result": { @@ -70,9 +71,11 @@ "content": { "application/json": { "schema": { + "type": "object", "required": ["error"], "properties": { "result": { + "type": "object", "nullable": true }, "error": {