mirror of
https://github.com/ceratic/MediaCollectorLibary.git
synced 2026-05-13 23:56:46 +02:00
42 lines
1.1 KiB
PHP
42 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* @OA\OpenApi(
|
|
* @OA\Info(
|
|
* title="Playnite API",
|
|
* version="1.0.0",
|
|
* description="API for managing games and media from Playnite",
|
|
* @OA\Contact(
|
|
* email="support@example.com"
|
|
* ),
|
|
* @OA\License(
|
|
* name="Apache 2.0",
|
|
* url="http://www.apache.org/licenses/LICENSE-2.0.html"
|
|
* )
|
|
* ),
|
|
* @OA\Server(
|
|
* url="/api",
|
|
* description="API Server"
|
|
* ),
|
|
* @OA\Components(
|
|
* @OA\Schema(
|
|
* schema="Error",
|
|
* type="object",
|
|
* @OA\Property(property="success", type="boolean", example=false),
|
|
* @OA\Property(property="error", type="string", example="Error message")
|
|
* ),
|
|
* @OA\Schema(
|
|
* schema="Success",
|
|
* type="object",
|
|
* @OA\Property(property="success", type="boolean", example=true),
|
|
* @OA\Property(property="result", type="object")
|
|
* )
|
|
* )
|
|
* )
|
|
*
|
|
* @OA\Tag(
|
|
* name="Playnite",
|
|
* description="Endpoints for Playnite integration"
|
|
* )
|
|
*/
|