Update zircote/swagger-php and fix openapi errors (#4363)

This commit is contained in:
Vaalyn 2021-06-29 03:03:59 +02:00 committed by GitHub
parent 9f12e08222
commit dcde7ff089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 214 additions and 205 deletions

14
composer.lock generated
View File

@ -9111,16 +9111,16 @@
},
{
"name": "zircote/swagger-php",
"version": "3.2.1",
"version": "3.2.3",
"source": {
"type": "git",
"url": "https://github.com/zircote/swagger-php.git",
"reference": "eef1dd98e6f6071573908fd7007270510051e5f9"
"reference": "41ed0eb1dacebe2c365623b3f9ab13d1531a03da"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zircote/swagger-php/zipball/eef1dd98e6f6071573908fd7007270510051e5f9",
"reference": "eef1dd98e6f6071573908fd7007270510051e5f9",
"url": "https://api.github.com/repos/zircote/swagger-php/zipball/41ed0eb1dacebe2c365623b3f9ab13d1531a03da",
"reference": "41ed0eb1dacebe2c365623b3f9ab13d1531a03da",
"shasum": ""
},
"require": {
@ -9131,7 +9131,7 @@
"symfony/yaml": ">=3.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"friendsofphp/php-cs-fixer": "^2.17 || ^3.0",
"phpunit/phpunit": ">=8"
},
"bin": [
@ -9176,9 +9176,9 @@
],
"support": {
"issues": "https://github.com/zircote/swagger-php/issues",
"source": "https://github.com/zircote/swagger-php/tree/3.2.1"
"source": "https://github.com/zircote/swagger-php/tree/3.2.3"
},
"time": "2021-05-20T21:46:24+00:00"
"time": "2021-06-25T04:08:57+00:00"
}
],
"packages-dev": [

View File

@ -63,6 +63,7 @@ class QueueController extends AbstractStationApiCrudController
* @OA\Get(path="/station/{station_id}/queue/{id}",
* tags={"Stations: Queue"},
* description="Retrieve details of a single queued item.",
* @OA\Parameter(ref="#/components/parameters/station_id_required"),
* @OA\Parameter(
* name="id",
* in="path",
@ -81,6 +82,7 @@ class QueueController extends AbstractStationApiCrudController
* @OA\Delete(path="/station/{station_id}/queue/{id}",
* tags={"Stations: Queue"},
* description="Delete a single queued item.",
* @OA\Parameter(ref="#/components/parameters/station_id_required"),
* @OA\Parameter(
* name="id",
* in="path",

View File

@ -83,10 +83,10 @@ class ServicesController
* name="action",
* description="The action to perform (start, stop, restart)",
* in="path",
* content="restart",
* required=false,
* @OA\Schema(
* type="string"
* type="string",
* default="restart"
* )
* ),
* @OA\Response(response=200, description="Success", @OA\Schema(ref="#/components/schemas/Api_Status")),
@ -140,10 +140,10 @@ class ServicesController
* name="action",
* description="The action to perform (for all: start, stop, restart; for Liquidsoap only: skip, disconnect)",
* in="path",
* content="restart",
* required=false,
* @OA\Schema(
* type="string"
* type="string",
* default="restart"
* )
* ),
* @OA\Response(response=200, description="Success", @OA\Schema(ref="#/components/schemas/Api_Status")),

File diff suppressed because it is too large Load Diff