Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions components/schemas/includes/ClusterIncludes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: ClusterIncludes
description: A resource associated with a cluster.
type: object
additionalProperties:
"$ref": "../infrastructure/clusters/Cluster.yml"
5 changes: 4 additions & 1 deletion platform/paths/environments/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ get:
enum:
- creators
- stacks
- clusters
responses:
200:
description: Returns an Environment.
Expand All @@ -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

Expand Down Expand Up @@ -113,7 +116,7 @@ patch:
properties:
tier:
$ref: ../../../components/schemas/environments/monitoring/MonitoringTier.yml

responses:
200:
description: Returns an Environment.
Expand Down