fix: incorrect server API patch response
This commit is contained in:
parent
4a45de5646
commit
379045c835
3 changed files with 4 additions and 10 deletions
|
|
@ -596,8 +596,7 @@ public function create_server(Request $request)
|
|||
new OA\MediaType(
|
||||
mediaType: 'application/json',
|
||||
schema: new OA\Schema(
|
||||
type: 'array',
|
||||
items: new OA\Items(ref: '#/components/schemas/Server')
|
||||
ref: '#/components/schemas/Server'
|
||||
)
|
||||
),
|
||||
]),
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"openapi": "3.0.0",
|
||||
"openapi": "3.1.0",
|
||||
"info": {
|
||||
"title": "Coolify",
|
||||
"version": "0.1"
|
||||
|
|
@ -5451,10 +5451,7 @@
|
|||
"content": {
|
||||
"application\/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#\/components\/schemas\/Server"
|
||||
}
|
||||
"$ref": "#\/components\/schemas\/Server"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3713,9 +3713,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/Server'
|
||||
$ref: '#/components/schemas/Server'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
'400':
|
||||
|
|
|
|||
Loading…
Reference in a new issue