oapi: finish users
This commit is contained in:
+155
-22
@@ -3865,6 +3865,33 @@
|
||||
"width"
|
||||
]
|
||||
},
|
||||
"BackupCode": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"user": {
|
||||
"$ref": "#/components/schemas/User"
|
||||
},
|
||||
"code": {
|
||||
"type": "string"
|
||||
},
|
||||
"consumed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"expired": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"code",
|
||||
"consumed",
|
||||
"expired",
|
||||
"id",
|
||||
"user"
|
||||
]
|
||||
},
|
||||
"PublicConnectedAccount": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -6599,6 +6626,35 @@
|
||||
"token"
|
||||
]
|
||||
},
|
||||
"TokenOnlyResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"token"
|
||||
]
|
||||
},
|
||||
"TokenWithBackupCodesResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
},
|
||||
"backup_codes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/BackupCode"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"backup_codes",
|
||||
"token"
|
||||
]
|
||||
},
|
||||
"UserNoteResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -6918,28 +6974,24 @@
|
||||
}
|
||||
},
|
||||
"UserBackupCodesResponse": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/BackupCode"
|
||||
}
|
||||
},
|
||||
"WebAuthnCreateResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expired": {},
|
||||
"user": {
|
||||
"$ref": "#/components/schemas/User"
|
||||
},
|
||||
"code": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"consumed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"code",
|
||||
"consumed",
|
||||
"expired",
|
||||
"id",
|
||||
"user"
|
||||
"name"
|
||||
]
|
||||
},
|
||||
"WebhookCreateResponse": {
|
||||
@@ -7347,8 +7399,25 @@
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"default": {
|
||||
"description": "No description available"
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/WebAuthnCreateResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/APIErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
@@ -7364,7 +7433,7 @@
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"default": {
|
||||
"204": {
|
||||
"description": "No description available"
|
||||
}
|
||||
},
|
||||
@@ -7402,8 +7471,35 @@
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"default": {
|
||||
"description": "No description available"
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/TokenWithBackupCodesResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/APIErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/APIErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
@@ -7429,8 +7525,25 @@
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"default": {
|
||||
"description": "No description available"
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/TokenOnlyResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/APIErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
@@ -7726,8 +7839,28 @@
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"default": {
|
||||
"200": {
|
||||
"description": "No description available"
|
||||
},
|
||||
"400": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/APIErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/APIErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
@@ -12327,7 +12460,7 @@
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/TokenResponse"
|
||||
"$ref": "#/components/schemas/TokenOnlyResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12366,7 +12499,7 @@
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/TokenResponse"
|
||||
"$ref": "#/components/schemas/TokenOnlyResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+14733
-12
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user