Skip to content

Commit aec0a60

Browse files
committed
Fix swagger bits
1 parent f55a7a7 commit aec0a60

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

backend/embed/api_docs/paths/tokens/post.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"required": ["error"],
4949
"properties": {
5050
"result": {
51+
"type": "object",
5152
"nullable": true
5253
},
5354
"error": {

backend/embed/api_docs/paths/users/post.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"content": {
1818
"application/json": {
1919
"schema": {
20+
"type": "object",
2021
"required": ["result"],
2122
"properties": {
2223
"result": {
@@ -52,9 +53,11 @@
5253
"content": {
5354
"application/json": {
5455
"schema": {
56+
"type": "object",
5557
"required": ["error"],
5658
"properties": {
5759
"result": {
60+
"type": "object",
5861
"nullable": true
5962
},
6063
"error": {

backend/embed/api_docs/paths/users/userID/put.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"content": {
3939
"application/json": {
4040
"schema": {
41+
"type": "object",
4142
"required": ["result"],
4243
"properties": {
4344
"result": {
@@ -70,9 +71,11 @@
7071
"content": {
7172
"application/json": {
7273
"schema": {
74+
"type": "object",
7375
"required": ["error"],
7476
"properties": {
7577
"result": {
78+
"type": "object",
7679
"nullable": true
7780
},
7881
"error": {

0 commit comments

Comments
 (0)