@@ -89,29 +89,17 @@ class PaginatedPublicOrPrivateCloudsResponseSchema
8989#[OA \Schema(
9090 schema: 'RemoteCloudsResponse ' ,
9191 type: 'object ' ,
92- properties: [
93- 'id ' => new OA \Property (property: 'id ' , type: 'integer ' , example: 1 ),
94- 'class_name ' => new OA \Property (property: 'class_name ' , type: 'string ' , example: 'RemoteCloudService ' ),
95- 'name ' => new OA \Property (property: 'name ' , type: 'string ' , example: 'Managed OpenStack Cloud Service ' ),
96- 'overview ' => new OA \Property (property: 'overview ' , type: 'string ' , example: 'Remotely managed private OpenStack cloud ' ),
97- 'call_2_action_url ' => new OA \Property (property: 'call_2_action_url ' , type: 'string ' , example: 'https://example.com/managed-cloud ' ),
98- 'slug ' => new OA \Property (property: 'slug ' , type: 'string ' , example: 'managed-openstack-service ' ),
99- 'is_compatible_with_storage ' => new OA \Property (property: 'is_compatible_with_storage ' , type: 'boolean ' , example: true ),
100- 'is_compatible_with_compute ' => new OA \Property (property: 'is_compatible_with_compute ' , type: 'boolean ' , example: true ),
101- 'is_compatible_with_federated_identity ' => new OA \Property (property: 'is_compatible_with_federated_identity ' , type: 'boolean ' , example: true ),
102- 'is_compatible_with_platform ' => new OA \Property (property: 'is_compatible_with_platform ' , type: 'boolean ' , example: true ),
103- 'is_openstack_powered ' => new OA \Property (property: 'is_openstack_powered ' , type: 'boolean ' , example: true ),
104- 'is_openstack_tested ' => new OA \Property (property: 'is_openstack_tested ' , type: 'boolean ' , example: true ),
105- 'openstack_tested_info ' => new OA \Property (property: 'openstack_tested_info ' , type: 'string ' , example: 'Tested with OpenStack Bobcat ' ),
106- 'hardware_spec ' => new OA \Property (property: 'hardware_spec ' , type: 'string ' , example: 'High-performance servers with SSD storage ' ),
107- 'pricing_models ' => new OA \Property (property: 'pricing_models ' , type: 'string ' , example: 'Monthly subscription, Pay-as-you-use ' ),
108- 'published_sla ' => new OA \Property (property: 'published_sla ' , type: 'string ' , example: '99.9% uptime guarantee ' ),
109- 'is_vendor_managed_upgrades ' => new OA \Property (property: 'is_vendor_managed_upgrades ' , type: 'boolean ' , example: true ),
110- 'company_id ' => new OA \Property (property: 'company_id ' , type: 'integer ' , example: 1 ),
111- 'company ' => new OA \Property (property: 'company ' , type: 'Company ' ),
112- 'type_id ' => new OA \Property (property: 'type_id ' , type: 'integer ' ),
113- 'type ' => new OA \Property (property: 'type ' , type: 'MarketPlaceType ' ),
114- 'reviews ' => new OA \Property (property: 'reviews ' , type: 'array ' , items: new OA \Items (type: 'MarketPlaceReview ' )),
92+ allOf: [
93+ new OA \Schema (ref: '#/components/schemas/OpenStackImplementation ' ),
94+ new OA \Schema (
95+ type: 'object ' ,
96+ properties: [
97+ 'hardware_spec ' => new OA \Property (property: 'hardware_spec ' , type: 'string ' , example: 'High-performance servers with SSD storage ' ),
98+ 'pricing_models ' => new OA \Property (property: 'pricing_models ' , type: 'string ' , example: 'Monthly subscription, Pay-as-you-use ' ),
99+ 'published_sla ' => new OA \Property (property: 'published_sla ' , type: 'string ' , example: '99.9% uptime guarantee ' ),
100+ 'is_vendor_managed_upgrades ' => new OA \Property (property: 'is_vendor_managed_upgrades ' , type: 'boolean ' , example: true ),
101+ ]
102+ )
115103 ]
116104)]
117105class RemoteCloudsResponseSchema {}
0 commit comments