Skip to content

Commit e54b84d

Browse files
committed
chore: Add generic OpenStackImplementation schema
1 parent cf785c8 commit e54b84d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

app/Swagger/MarketplaceSchemas.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,23 @@ class PaginatedMarketplaceDistributionResponseSchema
8282
class PaginatedPublicOrPrivateCloudsResponseSchema
8383
{
8484
}
85+
86+
#[OA\Schema(
87+
schema: 'PaginatedPublicOrPrivateCloudsResponse',
88+
allOf: [
89+
new OA\Schema(ref: '#/components/schemas/PaginateDataSchemaResponse'),
90+
new OA\Schema(
91+
type: 'object',
92+
properties: [
93+
new OA\Property(
94+
property: 'data',
95+
type: 'array',
96+
items: new OA\Items(ref: '#/components/schemas/CloudService')
97+
)
98+
]
99+
)
100+
]
101+
)]
102+
class PaginatedPublicOrPrivateCloudsResponseSchema
103+
{
104+
}

0 commit comments

Comments
 (0)