diff --git a/components/schemas/includes/ClusterIncludes.yml b/components/schemas/includes/ClusterIncludes.yml new file mode 100644 index 00000000..b207f75c --- /dev/null +++ b/components/schemas/includes/ClusterIncludes.yml @@ -0,0 +1,5 @@ +title: ClusterIncludes +description: A resource associated with a cluster. +type: object +additionalProperties: + "$ref": "../infrastructure/clusters/Cluster.yml" diff --git a/platform/paths/environments/environment.yml b/platform/paths/environments/environment.yml index e3ca8625..b0c6a811 100644 --- a/platform/paths/environments/environment.yml +++ b/platform/paths/environments/environment.yml @@ -44,6 +44,7 @@ get: enum: - creators - stacks + - clusters responses: 200: description: Returns an Environment. @@ -61,6 +62,8 @@ get: properties: creators: $ref: ../../../components/schemas/includes/CreatorInclude.yml + clusters: + $ref: ../../../components/schemas/includes/ClusterIncludes.yml default: $ref: ../../../components/responses/errors/DefaultError.yml @@ -113,7 +116,7 @@ patch: properties: tier: $ref: ../../../components/schemas/environments/monitoring/MonitoringTier.yml - + responses: 200: description: Returns an Environment.