@@ -83,39 +83,7 @@ public function __construct(IPrivateCloudServiceRepository $repository, IResourc
8383 new OA \Response (
8484 response: 200 ,
8585 description: 'Success - Returns paginated list of hosted private clouds ' ,
86- content: new OA \JsonContent (
87- properties: [
88- 'total ' => new OA \Property (property: 'total ' , type: 'integer ' , example: 10 ),
89- 'per_page ' => new OA \Property (property: 'per_page ' , type: 'integer ' , example: 10 ),
90- 'current_page ' => new OA \Property (property: 'current_page ' , type: 'integer ' , example: 1 ),
91- 'last_page ' => new OA \Property (property: 'last_page ' , type: 'integer ' , example: 1 ),
92- 'data ' => new OA \Property (
93- property: 'data ' ,
94- type: 'array ' ,
95- items: new OA \Items (
96- properties: [
97- 'id ' => new OA \Property (property: 'id ' , type: 'integer ' , example: 1 ),
98- 'class_name ' => new OA \Property (property: 'class_name ' , type: 'string ' , example: 'PrivateCloudService ' ),
99- 'name ' => new OA \Property (property: 'name ' , type: 'string ' , example: 'Enterprise Private Cloud ' ),
100- 'overview ' => new OA \Property (property: 'overview ' , type: 'string ' , example: 'Hosted private OpenStack cloud service ' ),
101- 'call_2_action_url ' => new OA \Property (property: 'call_2_action_url ' , type: 'string ' , example: 'https://example.com/private-cloud ' ),
102- 'slug ' => new OA \Property (property: 'slug ' , type: 'string ' , example: 'enterprise-private-cloud ' ),
103- 'company_id ' => new OA \Property (property: 'company_id ' , type: 'integer ' , example: 1 ),
104- 'type_id ' => new OA \Property (property: 'type_id ' , type: 'integer ' , example: 1 ),
105- 'is_compatible_with_storage ' => new OA \Property (property: 'is_compatible_with_storage ' , type: 'boolean ' , example: true ),
106- 'is_compatible_with_compute ' => new OA \Property (property: 'is_compatible_with_compute ' , type: 'boolean ' , example: true ),
107- 'is_compatible_with_federated_identity ' => new OA \Property (property: 'is_compatible_with_federated_identity ' , type: 'boolean ' , example: true ),
108- 'is_compatible_with_platform ' => new OA \Property (property: 'is_compatible_with_platform ' , type: 'boolean ' , example: true ),
109- 'is_openstack_powered ' => new OA \Property (property: 'is_openstack_powered ' , type: 'boolean ' , example: true ),
110- 'is_openstack_tested ' => new OA \Property (property: 'is_openstack_tested ' , type: 'boolean ' , example: true ),
111- 'openstack_tested_info ' => new OA \Property (property: 'openstack_tested_info ' , type: 'string ' , example: 'Tested with OpenStack Antelope ' )
112- ],
113- type: 'object '
114- )
115- )
116- ],
117- type: 'object '
118- )
86+ content: new OA \JsonContent (ref: '#/components/schemas/PaginatedPublicOrPrivateCloudsResponseSchema ' )
11987 ),
12088 new OA \Response (response: Response::HTTP_PRECONDITION_FAILED , description: "Validation Error " ),
12189 new OA \Response (response: Response::HTTP_INTERNAL_SERVER_ERROR , description: "Server Error " )
0 commit comments