Files
MediaCollectorLibary/app/Controllers/Api/_openapi.php
Lars Behrends 04140786a7 Stuff i guess ?
2025-10-31 00:24:17 +01:00

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"
* )
*/