mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 07:13:23 -04:00
fix(openapi): Regenerate OpenAPI after server changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
427f3c9a53
commit
5d5091bb2d
1 changed files with 102 additions and 0 deletions
|
|
@ -656,6 +656,19 @@
|
|||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "guestFallback",
|
||||
"in": "query",
|
||||
"description": "Fallback to guest avatar if not found",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"enum": [
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "userId",
|
||||
"in": "path",
|
||||
|
|
@ -696,6 +709,25 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"201": {
|
||||
"description": "Avatar returned",
|
||||
"headers": {
|
||||
"X-NC-IsCustomAvatar": {
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"*/*": {
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"format": "binary"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Avatar not found",
|
||||
"content": {
|
||||
|
|
@ -703,6 +735,9 @@
|
|||
"schema": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -724,6 +759,19 @@
|
|||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "guestFallback",
|
||||
"in": "query",
|
||||
"description": "Fallback to guest avatar if not found",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"enum": [
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "userId",
|
||||
"in": "path",
|
||||
|
|
@ -764,6 +812,25 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"201": {
|
||||
"description": "Avatar returned",
|
||||
"headers": {
|
||||
"X-NC-IsCustomAvatar": {
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"*/*": {
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"format": "binary"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Avatar not found",
|
||||
"content": {
|
||||
|
|
@ -771,6 +838,9 @@
|
|||
"schema": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -814,6 +884,14 @@
|
|||
"responses": {
|
||||
"200": {
|
||||
"description": "Custom avatar returned",
|
||||
"headers": {
|
||||
"X-NC-IsCustomAvatar": {
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"*/*": {
|
||||
"schema": {
|
||||
|
|
@ -825,6 +903,14 @@
|
|||
},
|
||||
"201": {
|
||||
"description": "Avatar returned",
|
||||
"headers": {
|
||||
"X-NC-IsCustomAvatar": {
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"*/*": {
|
||||
"schema": {
|
||||
|
|
@ -893,6 +979,14 @@
|
|||
"responses": {
|
||||
"200": {
|
||||
"description": "Custom avatar returned",
|
||||
"headers": {
|
||||
"X-NC-IsCustomAvatar": {
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"*/*": {
|
||||
"schema": {
|
||||
|
|
@ -904,6 +998,14 @@
|
|||
},
|
||||
"201": {
|
||||
"description": "Avatar returned",
|
||||
"headers": {
|
||||
"X-NC-IsCustomAvatar": {
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"*/*": {
|
||||
"schema": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue