|
16 | 16 | 'overview' => new OA\Property(property: 'overview', type: 'string', example: 'Remotely managed private OpenStack cloud'), |
17 | 17 | 'call_2_action_url' => new OA\Property(property: 'call_2_action_url', type: 'string', example: 'https://example.com/managed-cloud'), |
18 | 18 | 'slug' => new OA\Property(property: 'slug', type: 'string', example: 'managed-openstack-service'), |
19 | | - 'company_id' => new OA\Property(property: 'company_id', type: 'integer', example: 1), |
20 | | - 'type_id' => new OA\Property(property: 'type_id', type: 'integer', example: 1), |
21 | 19 | 'is_compatible_with_storage' => new OA\Property(property: 'is_compatible_with_storage', type: 'boolean', example: true), |
22 | 20 | 'is_compatible_with_compute' => new OA\Property(property: 'is_compatible_with_compute', type: 'boolean', example: true), |
23 | 21 | 'is_compatible_with_federated_identity' => new OA\Property(property: 'is_compatible_with_federated_identity', type: 'boolean', example: true), |
|
29 | 27 | 'pricing_models' => new OA\Property(property: 'pricing_models', type: 'string', example: 'Monthly subscription, Pay-as-you-use'), |
30 | 28 | 'published_sla' => new OA\Property(property: 'published_sla', type: 'string', example: '99.9% uptime guarantee'), |
31 | 29 | 'is_vendor_managed_upgrades' => new OA\Property(property: 'is_vendor_managed_upgrades', type: 'boolean', example: true) |
| 30 | + ], |
| 31 | + anyOf: [ |
| 32 | + 'company_id' => new OA\Property(property: 'company_id', type: 'integer', example: 1), |
| 33 | + 'company' => new OA\Property(property: 'company', type: 'Company'), |
| 34 | + 'type_id' => new OA\Property(property: 'type_id', type: 'integer'), |
| 35 | + 'type' => new OA\Property(property: 'type', type: 'MarketPlaceType'), |
| 36 | + 'reviews' => new OA\Property(property: 'reviews', type: 'array', items: new OA\Items(type: 'MarketPlaceReview')), |
32 | 37 | ] |
33 | 38 | )] |
34 | 39 | class RemoteCloudsResponseSchema {} |
|
0 commit comments