fix: incorrect server API patch response
This commit is contained in:
@@ -596,8 +596,7 @@ class ServersController extends Controller
|
||||
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':
|
||||
|
Reference in New Issue
Block a user