@@ -352,27 +352,17 @@ class RSVPAdminAddRequestSchema {}
352352
353353#[OA \Schema(
354354 schema: 'RemoteCloudsResponseSchema ' ,
355- type: 'object ' ,
356- properties: [
357- 'id ' => new OA \Property (property: 'id ' , type: 'integer ' , example: 1 ),
358- 'class_name ' => new OA \Property (property: 'class_name ' , type: 'string ' , example: 'RemoteCloudService ' ),
359- 'name ' => new OA \Property (property: 'name ' , type: 'string ' , example: 'Managed OpenStack Cloud Service ' ),
360- 'overview ' => new OA \Property (property: 'overview ' , type: 'string ' , example: 'Remotely managed private OpenStack cloud ' ),
361- 'call_2_action_url ' => new OA \Property (property: 'call_2_action_url ' , type: 'string ' , example: 'https://example.com/managed-cloud ' ),
362- 'slug ' => new OA \Property (property: 'slug ' , type: 'string ' , example: 'managed-openstack-service ' ),
363- 'company_id ' => new OA \Property (property: 'company_id ' , type: 'integer ' , example: 1 ),
364- 'type_id ' => new OA \Property (property: 'type_id ' , type: 'integer ' , example: 1 ),
365- 'is_compatible_with_storage ' => new OA \Property (property: 'is_compatible_with_storage ' , type: 'boolean ' , example: true ),
366- 'is_compatible_with_compute ' => new OA \Property (property: 'is_compatible_with_compute ' , type: 'boolean ' , example: true ),
367- 'is_compatible_with_federated_identity ' => new OA \Property (property: 'is_compatible_with_federated_identity ' , type: 'boolean ' , example: true ),
368- 'is_compatible_with_platform ' => new OA \Property (property: 'is_compatible_with_platform ' , type: 'boolean ' , example: true ),
369- 'is_openstack_powered ' => new OA \Property (property: 'is_openstack_powered ' , type: 'boolean ' , example: true ),
370- 'is_openstack_tested ' => new OA \Property (property: 'is_openstack_tested ' , type: 'boolean ' , example: true ),
371- 'openstack_tested_info ' => new OA \Property (property: 'openstack_tested_info ' , type: 'string ' , example: 'Tested with OpenStack Bobcat ' ),
372- 'hardware_spec ' => new OA \Property (property: 'hardware_spec ' , type: 'string ' , example: 'High-performance servers with SSD storage ' ),
373- 'pricing_models ' => new OA \Property (property: 'pricing_models ' , type: 'string ' , example: 'Monthly subscription, Pay-as-you-use ' ),
374- 'published_sla ' => new OA \Property (property: 'published_sla ' , type: 'string ' , example: '99.9% uptime guarantee ' ),
375- 'is_vendor_managed_upgrades ' => new OA \Property (property: 'is_vendor_managed_upgrades ' , type: 'boolean ' , example: true )
355+ allOf: [
356+ new OA \Schema (ref: '#/components/schemas/PublicOrPrivateCloudsResponseSchema ' ),
357+ new OA \Schema (
358+ type: 'object ' ,
359+ properties: [
360+ 'hardware_spec ' => new OA \Property (property: 'hardware_spec ' , type: 'string ' , example: 'High-performance servers with SSD storage ' ),
361+ 'pricing_models ' => new OA \Property (property: 'pricing_models ' , type: 'string ' , example: 'Monthly subscription, Pay-as-you-use ' ),
362+ 'published_sla ' => new OA \Property (property: 'published_sla ' , type: 'string ' , example: '99.9% uptime guarantee ' ),
363+ 'is_vendor_managed_upgrades ' => new OA \Property (property: 'is_vendor_managed_upgrades ' , type: 'boolean ' , example: true )
364+ ]
365+ )
376366 ]
377367)]
378368class RemoteCloudsResponseSchema {}
0 commit comments