Skip to content

Commit

Permalink
Properly describe admin log list as array.
Browse files Browse the repository at this point in the history
  • Loading branch information
BusterNeece committed Feb 25, 2025
1 parent 4d3ee7b commit c2b8a59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/Controller/Api/Admin/LogsAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
response: 200,
description: 'Success',
content: new OA\JsonContent(
ref: '#/components/schemas/Api_LogType'
type: 'array',
items: new OA\Items(ref: '#/components/schemas/Api_LogType')
)
),
new OA\Response(ref: OpenApi::REF_RESPONSE_ACCESS_DENIED, response: 403),
Expand Down

0 comments on commit c2b8a59

Please sign in to comment.