fix(api): correct OpenAPI schema annotations for array items

- Replace OA\Schema with OA\Items for array items in DatabasesController
- Replace OA\Items with OA\Schema for array type properties in GithubController
- Update generated OpenAPI documentation files (openapi.json and openapi.yaml)
This commit is contained in:
Andras Bacsai
2025-09-30 11:19:39 +02:00
parent 323bff5632
commit db2d44ca1f
4 changed files with 1451 additions and 5 deletions

View File

@@ -2173,7 +2173,7 @@ class DatabasesController extends Controller
properties: [
'executions' => new OA\Schema(
type: 'array',
items: new OA\Schema(
items: new OA\Items(
type: 'object',
properties: [
'uuid' => ['type' => 'string'],