mirror of
https://github.com/ceratic/MediaCollectorLibary.git
synced 2026-05-13 23:56:46 +02:00
Stuff i guess ?
This commit is contained in:
41
app/Controllers/Api/_openapi.php
Normal file
41
app/Controllers/Api/_openapi.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?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"
|
||||
* )
|
||||
*/
|
||||
Reference in New Issue
Block a user