fix: missing uuid
parameter on server API patch
This commit is contained in:
@@ -567,6 +567,9 @@ class ServersController extends Controller
|
|||||||
['bearerAuth' => []],
|
['bearerAuth' => []],
|
||||||
],
|
],
|
||||||
tags: ['Servers'],
|
tags: ['Servers'],
|
||||||
|
parameters: [
|
||||||
|
new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Server UUID', schema: new OA\Schema(type: 'string')),
|
||||||
|
],
|
||||||
requestBody: new OA\RequestBody(
|
requestBody: new OA\RequestBody(
|
||||||
required: true,
|
required: true,
|
||||||
description: 'Server updated.',
|
description: 'Server updated.',
|
||||||
|
11
openapi.json
11
openapi.json
@@ -5391,6 +5391,17 @@
|
|||||||
"summary": "Update",
|
"summary": "Update",
|
||||||
"description": "Update Server.",
|
"description": "Update Server.",
|
||||||
"operationId": "update-server-by-uuid",
|
"operationId": "update-server-by-uuid",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"name": "uuid",
|
||||||
|
"in": "path",
|
||||||
|
"description": "Server UUID",
|
||||||
|
"required": true,
|
||||||
|
"schema": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"requestBody": {
|
"requestBody": {
|
||||||
"description": "Server updated.",
|
"description": "Server updated.",
|
||||||
"required": true,
|
"required": true,
|
||||||
|
@@ -3671,6 +3671,14 @@ paths:
|
|||||||
summary: Update
|
summary: Update
|
||||||
description: 'Update Server.'
|
description: 'Update Server.'
|
||||||
operationId: update-server-by-uuid
|
operationId: update-server-by-uuid
|
||||||
|
parameters:
|
||||||
|
-
|
||||||
|
name: uuid
|
||||||
|
in: path
|
||||||
|
description: 'Server UUID'
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
requestBody:
|
requestBody:
|
||||||
description: 'Server updated.'
|
description: 'Server updated.'
|
||||||
required: true
|
required: true
|
||||||
|
Reference in New Issue
Block a user