Skip to content

Commit 0ea1505

Browse files
fix: typo
1 parent 6e2faa1 commit 0ea1505

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/Http/Controllers/Apis/Marketplace/AppliancesApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function __construct(IApplianceRepository $repository, IResourceServerCon
8787
new OA\Response(
8888
response: 200,
8989
description: 'Success - Returns paginated list of appliances',
90-
content: new OA\JsonContent(ref: '#/components/schemas/PaginatedAppliancesListResponse')
90+
content: new OA\JsonContent(ref: '#/components/schemas/PaginatedMarketplaceAppliancesResponse')
9191
),
9292
new OA\Response(response: Response::HTTP_PRECONDITION_FAILED, description: "Validation Error"),
9393
new OA\Response(response: Response::HTTP_INTERNAL_SERVER_ERROR, description: "Server Error")

app/Swagger/MarketplaceSchemas.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use OpenApi\Attributes as OA;
66

77
#[OA\Schema(
8-
schema: 'MarketplaceAppliancesResponseSchema',
8+
schema: 'MarketplaceAppliancesResponse',
99
type: 'object',
1010
properties: [
1111
'id' => new OA\Property(property: 'id', type: 'integer', example: 1),
@@ -38,7 +38,7 @@
3838
class MarketplaceAppliancesResponseSchema {}
3939

4040
#[OA\Schema(
41-
schema: 'PaginatedMarketplaceAppliancesResponseSchema',
41+
schema: 'PaginatedMarketplaceAppliancesResponse',
4242
allOf: [
4343
new OA\Schema(ref: '#/components/schemas/PaginateDataSchemaResponse'),
4444
new OA\Schema(
@@ -47,7 +47,7 @@ class MarketplaceAppliancesResponseSchema {}
4747
new OA\Property(
4848
property: 'data',
4949
type: 'array',
50-
items: new OA\Items(ref: '#/components/schemas/MarketplaceAppliancesResponseSchema')
50+
items: new OA\Items(ref: '#/components/schemas/MarketplaceAppliancesResponse')
5151
)
5252
]
5353
)

0 commit comments

Comments
 (0)