fix: update schema in code decorator
This commit is contained in:
@@ -81,15 +81,8 @@ class SecurityController extends Controller
|
|||||||
new OA\Response(
|
new OA\Response(
|
||||||
response: 200,
|
response: 200,
|
||||||
description: 'Get all private keys.',
|
description: 'Get all private keys.',
|
||||||
content: [
|
content: new OA\JsonContent(ref: '#/components/schemas/PrivateKey')
|
||||||
new OA\MediaType(
|
),
|
||||||
mediaType: 'application/json',
|
|
||||||
schema: new OA\Schema(
|
|
||||||
type: 'array',
|
|
||||||
items: new OA\Items(ref: '#/components/schemas/PrivateKey')
|
|
||||||
)
|
|
||||||
),
|
|
||||||
]),
|
|
||||||
new OA\Response(
|
new OA\Response(
|
||||||
response: 401,
|
response: 401,
|
||||||
ref: '#/components/responses/401',
|
ref: '#/components/responses/401',
|
||||||
|
|||||||
Reference in New Issue
Block a user