fix: incorrect server API patch response
This commit is contained in:
@@ -596,8 +596,7 @@ class ServersController extends Controller
|
|||||||
new OA\MediaType(
|
new OA\MediaType(
|
||||||
mediaType: 'application/json',
|
mediaType: 'application/json',
|
||||||
schema: new OA\Schema(
|
schema: new OA\Schema(
|
||||||
type: 'array',
|
ref: '#/components/schemas/Server'
|
||||||
items: new OA\Items(ref: '#/components/schemas/Server')
|
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"openapi": "3.0.0",
|
"openapi": "3.1.0",
|
||||||
"info": {
|
"info": {
|
||||||
"title": "Coolify",
|
"title": "Coolify",
|
||||||
"version": "0.1"
|
"version": "0.1"
|
||||||
@@ -5451,13 +5451,10 @@
|
|||||||
"content": {
|
"content": {
|
||||||
"application\/json": {
|
"application\/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#\/components\/schemas\/Server"
|
"$ref": "#\/components\/schemas\/Server"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"401": {
|
"401": {
|
||||||
"$ref": "#\/components\/responses\/401"
|
"$ref": "#\/components\/responses\/401"
|
||||||
|
@@ -3713,8 +3713,6 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Server'
|
$ref: '#/components/schemas/Server'
|
||||||
'401':
|
'401':
|
||||||
$ref: '#/components/responses/401'
|
$ref: '#/components/responses/401'
|
||||||
|
Reference in New Issue
Block a user