From 1e4e572c3577aeb182a55d17d8a92333fe37da37 Mon Sep 17 00:00:00 2001 From: Bryce Date: Mon, 20 Jul 2026 13:46:40 -0700 Subject: [PATCH] includes rename --- .../billing/invoices/InvoiceIncludes.yml | 2 +- .../schemas/containers/ContainerIncludes.yml | 19 +++++++-------- .../backups/ContainerBackupIncludes.yml | 2 +- .../containers/instances/InstanceIncludes.yml | 24 +++++++++---------- components/schemas/dns/DnsZoneIncludes.yml | 2 +- .../hubs/activity/ActivityIncludes.yml | 4 ++-- components/schemas/images/ImageIncludes.yml | 22 ++++++++--------- .../schemas/images/sources/SourceIncludes.yml | 18 +++++++------- ...usterIncludes.yml => IncludedClusters.yml} | 4 ++-- ...ntsIncludes.yml => IncludedComponents.yml} | 2 +- ...ersIncludes.yml => IncludedContainers.yml} | 4 ++-- ...reatorInclude.yml => IncludedCreators.yml} | 2 +- ...tIncludes.yml => IncludedEnvironments.yml} | 4 ++-- .../{HubIncludes.yml => IncludedHubs.yml} | 4 ++-- ...erIncludes.yml => IncludedIdentifiers.yml} | 2 +- ...eIncludes.yml => IncludedImageSources.yml} | 4 ++-- ...{ImagesIncludes.yml => IncludedImages.yml} | 4 ++-- ...sIncludes.yml => IncludedIntegrations.yml} | 2 +- ...ionsIncludes.yml => IncludedLocations.yml} | 4 ++-- ...CodeInclude.yml => IncludedPromoCodes.yml} | 4 ++-- ...s.yml => IncludedProviderServerModels.yml} | 2 +- ...erversIncludes.yml => IncludedServers.yml} | 4 ++-- ...ldIncludes.yml => IncludedStackBuilds.yml} | 4 ++-- .../{StackIncludes.yml => IncludedStacks.yml} | 4 ++-- .../groups/AutoScaleGroupIncludes.yml | 6 ++--- .../infrastructure/ips/IpPoolIncludes.yml | 8 +++---- .../infrastructure/servers/ServerIncludes.yml | 10 ++++---- components/schemas/jobs/JobIncludes.yml | 2 +- .../schemas/pipelines/PipelineIncludes.yml | 4 ++-- .../pipelines/runs/PipelineRunIncludes.yml | 2 +- .../schemas/sdn/networks/NetworkIncludes.yml | 4 ++-- components/schemas/stacks/StackInclude.yml | 8 +++---- .../orders/includes/BillingOrderIncludes.yml | 2 +- .../dns/records/includes/RecordIncludes.yml | 2 +- platform/paths/environments/environment.yml | 4 ++-- platform/paths/environments/environments.yml | 2 +- .../telemetry/includes/controllers.yml | 8 +++---- platform/paths/pipelines/run.yml | 2 +- platform/paths/pipelines/runs.yml | 2 +- platform/paths/utils/components/lookup.yml | 6 ++--- .../includes/VirtualMachineIncludes.yml | 18 ++++---------- .../includes/VirtualMachineSshIncludes.yml | 10 +++----- 42 files changed, 116 insertions(+), 131 deletions(-) rename components/schemas/includes/{ClusterIncludes.yml => IncludedClusters.yml} (53%) rename components/schemas/includes/{ComponentsIncludes.yml => IncludedComponents.yml} (98%) rename components/schemas/includes/{ContainersIncludes.yml => IncludedContainers.yml} (59%) rename components/schemas/includes/{CreatorInclude.yml => IncludedCreators.yml} (98%) rename components/schemas/includes/{EnvironmentIncludes.yml => IncludedEnvironments.yml} (58%) rename components/schemas/includes/{HubIncludes.yml => IncludedHubs.yml} (65%) rename components/schemas/includes/{IdentifierIncludes.yml => IncludedIdentifiers.yml} (88%) rename components/schemas/includes/{ImageSourceIncludes.yml => IncludedImageSources.yml} (56%) rename components/schemas/includes/{ImagesIncludes.yml => IncludedImages.yml} (61%) rename components/schemas/includes/{IntegrationsIncludes.yml => IncludedIntegrations.yml} (83%) rename components/schemas/includes/{LocationsIncludes.yml => IncludedLocations.yml} (55%) rename components/schemas/includes/{PromoCodeInclude.yml => IncludedPromoCodes.yml} (61%) rename components/schemas/includes/{ProviderServerModelsIncludes.yml => IncludedProviderServerModels.yml} (81%) rename components/schemas/includes/{ServersIncludes.yml => IncludedServers.yml} (56%) rename components/schemas/includes/{StackBuildIncludes.yml => IncludedStackBuilds.yml} (58%) rename components/schemas/includes/{StackIncludes.yml => IncludedStacks.yml} (61%) diff --git a/components/schemas/billing/invoices/InvoiceIncludes.yml b/components/schemas/billing/invoices/InvoiceIncludes.yml index 3875d13a..b2c3ed50 100644 --- a/components/schemas/billing/invoices/InvoiceIncludes.yml +++ b/components/schemas/billing/invoices/InvoiceIncludes.yml @@ -3,4 +3,4 @@ description: All includable resources linkable to the given invoice. type: object properties: hubs: - "$ref": "../../includes/HubIncludes.yml" + $ref: ../../includes/IncludedHubs.yml diff --git a/components/schemas/containers/ContainerIncludes.yml b/components/schemas/containers/ContainerIncludes.yml index 7697a5fe..2b1c082e 100644 --- a/components/schemas/containers/ContainerIncludes.yml +++ b/components/schemas/containers/ContainerIncludes.yml @@ -3,17 +3,16 @@ description: All includable resources linkable to the given container. type: object properties: creators: - "$ref": "../includes/CreatorInclude.yml" + $ref: ../includes/IncludedCreators.yml images: - "$ref": "../includes/ImagesIncludes.yml" + $ref: ../includes/IncludedImages.yml stack_builds: - "$ref": "../includes/StackBuildIncludes.yml" + $ref: ../includes/IncludedStackBuilds.yml stacks: - "$ref": "../includes/StackIncludes.yml" - "stacks:identifiers": - $ref: ../includes/IdentifierIncludes.yml + $ref: ../includes/IncludedStacks.yml + stacks:identifiers: + $ref: ../includes/IncludedIdentifiers.yml environments: - "$ref": "../includes/EnvironmentIncludes.yml" - "environments:identifiers": - $ref: ../includes/IdentifierIncludes.yml - + $ref: ../includes/IncludedEnvironments.yml + environments:identifiers: + $ref: ../includes/IncludedIdentifiers.yml diff --git a/components/schemas/containers/backups/ContainerBackupIncludes.yml b/components/schemas/containers/backups/ContainerBackupIncludes.yml index 7ca87331..22366c67 100644 --- a/components/schemas/containers/backups/ContainerBackupIncludes.yml +++ b/components/schemas/containers/backups/ContainerBackupIncludes.yml @@ -3,4 +3,4 @@ description: All includable resources linkable to the given Zone. type: object properties: integrations: - "$ref": "../../includes/IntegrationsIncludes.yml" + $ref: ../../includes/IncludedIntegrations.yml diff --git a/components/schemas/containers/instances/InstanceIncludes.yml b/components/schemas/containers/instances/InstanceIncludes.yml index 10f0cede..35ecbba9 100644 --- a/components/schemas/containers/instances/InstanceIncludes.yml +++ b/components/schemas/containers/instances/InstanceIncludes.yml @@ -3,20 +3,20 @@ description: A resource associated with an instance. type: object properties: creators: - "$ref": "../../includes/CreatorInclude.yml" + $ref: ../../includes/IncludedCreators.yml servers: - "$ref": "../../includes/ServersIncludes.yml" + $ref: ../../includes/IncludedServers.yml locations: - "$ref": "../../includes/LocationsIncludes.yml" + $ref: ../../includes/IncludedLocations.yml integrations: - "$ref": "../../includes/IntegrationsIncludes.yml" - "integrations:identifiers": - $ref: ../../includes/IdentifierIncludes.yml + $ref: ../../includes/IncludedIntegrations.yml + integrations:identifiers: + $ref: ../../includes/IncludedIdentifiers.yml containers: - "$ref": "../../includes/ContainersIncludes.yml" - "containers:identifiers": - $ref: ../../includes/IdentifierIncludes.yml + $ref: ../../includes/IncludedContainers.yml + containers:identifiers: + $ref: ../../includes/IncludedIdentifiers.yml environments: - "$ref": "../../includes/EnvironmentIncludes.yml" - "environments:identifiers": - $ref: ../../includes/IdentifierIncludes.yml + $ref: ../../includes/IncludedEnvironments.yml + environments:identifiers: + $ref: ../../includes/IncludedIdentifiers.yml diff --git a/components/schemas/dns/DnsZoneIncludes.yml b/components/schemas/dns/DnsZoneIncludes.yml index bd3caf4f..22051e30 100644 --- a/components/schemas/dns/DnsZoneIncludes.yml +++ b/components/schemas/dns/DnsZoneIncludes.yml @@ -3,4 +3,4 @@ description: All includable resources linkable to the given Zone. type: object properties: creators: - "$ref": "../includes/CreatorInclude.yml" + "$ref": "../includes/IncludedCreators.yml" diff --git a/components/schemas/hubs/activity/ActivityIncludes.yml b/components/schemas/hubs/activity/ActivityIncludes.yml index 1cd01400..b30a5bd5 100644 --- a/components/schemas/hubs/activity/ActivityIncludes.yml +++ b/components/schemas/hubs/activity/ActivityIncludes.yml @@ -4,6 +4,6 @@ type: object properties: users: # TODO - I think this should be User Include in this case. Just need to check cross deps - "$ref": "../../includes/CreatorInclude.yml" + $ref: ../../includes/IncludedCreators.yml components: - "$ref": "../../includes/ComponentsIncludes.yml" + $ref: ../../includes/IncludedComponents.yml diff --git a/components/schemas/images/ImageIncludes.yml b/components/schemas/images/ImageIncludes.yml index 0fed79ae..5dd9a19e 100644 --- a/components/schemas/images/ImageIncludes.yml +++ b/components/schemas/images/ImageIncludes.yml @@ -3,18 +3,18 @@ description: All includable resources linkable to the given image. type: object properties: creators: - "$ref": "../includes/CreatorInclude.yml" + $ref: ../includes/IncludedCreators.yml stack_builds: - "$ref": "../includes/StackBuildIncludes.yml" + $ref: ../includes/IncludedStackBuilds.yml stacks: - "$ref": "../includes/StackIncludes.yml" - "stacks:identifiers": - $ref: ../includes/IdentifierIncludes.yml + $ref: ../includes/IncludedStacks.yml + stacks:identifiers: + $ref: ../includes/IncludedIdentifiers.yml sources: - "$ref": "../includes/ImageSourceIncludes.yml" - "sources:identifiers": - $ref: ../includes/IdentifierIncludes.yml + $ref: ../includes/IncludedImageSources.yml + sources:identifiers: + $ref: ../includes/IncludedIdentifiers.yml integrations: - "$ref": "../includes/IntegrationsIncludes.yml" - "integrations:identifiers": - $ref: ../includes/IdentifierIncludes.yml + $ref: ../includes/IncludedIntegrations.yml + integrations:identifiers: + $ref: ../includes/IncludedIdentifiers.yml diff --git a/components/schemas/images/sources/SourceIncludes.yml b/components/schemas/images/sources/SourceIncludes.yml index c3468b0b..994d0a10 100644 --- a/components/schemas/images/sources/SourceIncludes.yml +++ b/components/schemas/images/sources/SourceIncludes.yml @@ -1,10 +1,10 @@ -title: SourceIncludes -description: A resource associate with an image source. -type: object -properties: - creators: - "$ref": "../../includes/CreatorInclude.yml" +title: SourceIncludes +description: A resource associate with an image source. +type: object +properties: + creators: + $ref: ../../includes/IncludedCreators.yml integrations: - "$ref": "../../includes/IntegrationsIncludes.yml" - "integrations:identifiers": - $ref: ../../includes/IdentifierIncludes.yml \ No newline at end of file + $ref: ../../includes/IncludedIntegrations.yml + integrations:identifiers: + $ref: ../../includes/IncludedIdentifiers.yml diff --git a/components/schemas/includes/ClusterIncludes.yml b/components/schemas/includes/IncludedClusters.yml similarity index 53% rename from components/schemas/includes/ClusterIncludes.yml rename to components/schemas/includes/IncludedClusters.yml index b207f75c..f42b9d7d 100644 --- a/components/schemas/includes/ClusterIncludes.yml +++ b/components/schemas/includes/IncludedClusters.yml @@ -1,5 +1,5 @@ -title: ClusterIncludes +title: IncludedClusters description: A resource associated with a cluster. type: object additionalProperties: - "$ref": "../infrastructure/clusters/Cluster.yml" + $ref: ../infrastructure/clusters/Cluster.yml diff --git a/components/schemas/includes/ComponentsIncludes.yml b/components/schemas/includes/IncludedComponents.yml similarity index 98% rename from components/schemas/includes/ComponentsIncludes.yml rename to components/schemas/includes/IncludedComponents.yml index c2fffbe9..b6d64484 100644 --- a/components/schemas/includes/ComponentsIncludes.yml +++ b/components/schemas/includes/IncludedComponents.yml @@ -1,4 +1,4 @@ -title: ComponentIncludes +title: IncludedComponents type: object description: A resource that is associated with activity. additionalProperties: diff --git a/components/schemas/includes/ContainersIncludes.yml b/components/schemas/includes/IncludedContainers.yml similarity index 59% rename from components/schemas/includes/ContainersIncludes.yml rename to components/schemas/includes/IncludedContainers.yml index 757ec9e7..2430c241 100644 --- a/components/schemas/includes/ContainersIncludes.yml +++ b/components/schemas/includes/IncludedContainers.yml @@ -1,5 +1,5 @@ -title: ContainersIncludes +title: IncludedContainers type: object description: A resource that is associated with a container. additionalProperties: - "$ref": "../containers/Container.yml" + $ref: ../containers/Container.yml diff --git a/components/schemas/includes/CreatorInclude.yml b/components/schemas/includes/IncludedCreators.yml similarity index 98% rename from components/schemas/includes/CreatorInclude.yml rename to components/schemas/includes/IncludedCreators.yml index b6b0de6b..a4afd4cb 100644 --- a/components/schemas/includes/CreatorInclude.yml +++ b/components/schemas/includes/IncludedCreators.yml @@ -1,5 +1,5 @@ --- -title: CreatorInclude +title: IncludedCreators description: An identity that created a resource. type: object properties: diff --git a/components/schemas/includes/EnvironmentIncludes.yml b/components/schemas/includes/IncludedEnvironments.yml similarity index 58% rename from components/schemas/includes/EnvironmentIncludes.yml rename to components/schemas/includes/IncludedEnvironments.yml index 34cd2862..4aaae117 100644 --- a/components/schemas/includes/EnvironmentIncludes.yml +++ b/components/schemas/includes/IncludedEnvironments.yml @@ -1,5 +1,5 @@ -title: EnvironmentInclude +title: IncludedEnvironments description: An identity that is associated with an environment. type: object additionalProperties: - "$ref": "../environments/Environment.yml" + $ref: ../environments/Environment.yml diff --git a/components/schemas/includes/HubIncludes.yml b/components/schemas/includes/IncludedHubs.yml similarity index 65% rename from components/schemas/includes/HubIncludes.yml rename to components/schemas/includes/IncludedHubs.yml index 459e9705..141d5d1f 100644 --- a/components/schemas/includes/HubIncludes.yml +++ b/components/schemas/includes/IncludedHubs.yml @@ -1,5 +1,5 @@ -title: HubIncludes +title: IncludedHubs type: object description: A resource that is associated with a hub. additionalProperties: - "$ref": "../hubs/Hub.yml" + $ref: ../hubs/Hub.yml diff --git a/components/schemas/includes/IdentifierIncludes.yml b/components/schemas/includes/IncludedIdentifiers.yml similarity index 88% rename from components/schemas/includes/IdentifierIncludes.yml rename to components/schemas/includes/IncludedIdentifiers.yml index 7ca16f0c..9f017755 100644 --- a/components/schemas/includes/IdentifierIncludes.yml +++ b/components/schemas/includes/IncludedIdentifiers.yml @@ -1,4 +1,4 @@ -title: IdentifierIncludes +title: IncludedIdentifiers type: object description: A map of identifiers to an array of resource IDs that are associated with it. All IDs point to the same type of resource. additionalProperties: diff --git a/components/schemas/includes/ImageSourceIncludes.yml b/components/schemas/includes/IncludedImageSources.yml similarity index 56% rename from components/schemas/includes/ImageSourceIncludes.yml rename to components/schemas/includes/IncludedImageSources.yml index 4952c8c7..00895d77 100644 --- a/components/schemas/includes/ImageSourceIncludes.yml +++ b/components/schemas/includes/IncludedImageSources.yml @@ -1,5 +1,5 @@ -title: ImageSourceIncludes +title: IncludedImageSources description: A resource associated with an image source. type: object additionalProperties: - "$ref": "../images/sources/ImageSource.yml" \ No newline at end of file + $ref: ../images/sources/ImageSource.yml diff --git a/components/schemas/includes/ImagesIncludes.yml b/components/schemas/includes/IncludedImages.yml similarity index 61% rename from components/schemas/includes/ImagesIncludes.yml rename to components/schemas/includes/IncludedImages.yml index bc47b13f..d13c9705 100644 --- a/components/schemas/includes/ImagesIncludes.yml +++ b/components/schemas/includes/IncludedImages.yml @@ -1,5 +1,5 @@ -title: ImageIncludes +title: IncludedImages description: A resource associated with an image. type: object additionalProperties: - "$ref": "../images/Image.yml" + $ref: ../images/Image.yml diff --git a/components/schemas/includes/IntegrationsIncludes.yml b/components/schemas/includes/IncludedIntegrations.yml similarity index 83% rename from components/schemas/includes/IntegrationsIncludes.yml rename to components/schemas/includes/IncludedIntegrations.yml index 4363a98c..fa61e278 100644 --- a/components/schemas/includes/IntegrationsIncludes.yml +++ b/components/schemas/includes/IncludedIntegrations.yml @@ -1,4 +1,4 @@ -title: IntegrationsIncludes +title: IncludedIntegrations description: A resource that is associated with an integration. type: object additionalProperties: diff --git a/components/schemas/includes/LocationsIncludes.yml b/components/schemas/includes/IncludedLocations.yml similarity index 55% rename from components/schemas/includes/LocationsIncludes.yml rename to components/schemas/includes/IncludedLocations.yml index 826ae30d..513e95d8 100644 --- a/components/schemas/includes/LocationsIncludes.yml +++ b/components/schemas/includes/IncludedLocations.yml @@ -1,5 +1,5 @@ -title: LocationIncludes +title: IncludedLocations description: A resource that is associated with a provider location. type: object additionalProperties: - "$ref": "../infrastructure/providers/ProviderLocation.yml" + $ref: ../infrastructure/providers/ProviderLocation.yml diff --git a/components/schemas/includes/PromoCodeInclude.yml b/components/schemas/includes/IncludedPromoCodes.yml similarity index 61% rename from components/schemas/includes/PromoCodeInclude.yml rename to components/schemas/includes/IncludedPromoCodes.yml index b3f3cfeb..7c948c81 100644 --- a/components/schemas/includes/PromoCodeInclude.yml +++ b/components/schemas/includes/IncludedPromoCodes.yml @@ -1,5 +1,5 @@ -title: PromoCodeIncludes +title: IncludedPromoCodes type: object description: A resource that is associated with a promo code. additionalProperties: - "$ref": "../billing/PromoCode.yml" + $ref: ../billing/PromoCode.yml diff --git a/components/schemas/includes/ProviderServerModelsIncludes.yml b/components/schemas/includes/IncludedProviderServerModels.yml similarity index 81% rename from components/schemas/includes/ProviderServerModelsIncludes.yml rename to components/schemas/includes/IncludedProviderServerModels.yml index a530af66..a79a78c1 100644 --- a/components/schemas/includes/ProviderServerModelsIncludes.yml +++ b/components/schemas/includes/IncludedProviderServerModels.yml @@ -1,4 +1,4 @@ -title: ProviderServerModelsIncludes +title: IncludedProviderServerModels description: A resource associated with a server models. type: object additionalProperties: diff --git a/components/schemas/includes/ServersIncludes.yml b/components/schemas/includes/IncludedServers.yml similarity index 56% rename from components/schemas/includes/ServersIncludes.yml rename to components/schemas/includes/IncludedServers.yml index 31fa7721..bd6ea7d9 100644 --- a/components/schemas/includes/ServersIncludes.yml +++ b/components/schemas/includes/IncludedServers.yml @@ -1,5 +1,5 @@ -title: ServerIncludes +title: IncludedServers description: A resource that is associated with a server. type: object additionalProperties: - "$ref": "../infrastructure/servers/Server.yml" + $ref: ../infrastructure/servers/Server.yml diff --git a/components/schemas/includes/StackBuildIncludes.yml b/components/schemas/includes/IncludedStackBuilds.yml similarity index 58% rename from components/schemas/includes/StackBuildIncludes.yml rename to components/schemas/includes/IncludedStackBuilds.yml index 0e50b0fa..d206c581 100644 --- a/components/schemas/includes/StackBuildIncludes.yml +++ b/components/schemas/includes/IncludedStackBuilds.yml @@ -1,5 +1,5 @@ -title: StackBuildInclude +title: IncludedStackBuilds description: A resource that is associated with a stack build. type: object additionalProperties: - "$ref": "../stacks/builds/StackBuild.yml" + $ref: ../stacks/builds/StackBuild.yml diff --git a/components/schemas/includes/StackIncludes.yml b/components/schemas/includes/IncludedStacks.yml similarity index 61% rename from components/schemas/includes/StackIncludes.yml rename to components/schemas/includes/IncludedStacks.yml index b9240454..7a3eb3c3 100644 --- a/components/schemas/includes/StackIncludes.yml +++ b/components/schemas/includes/IncludedStacks.yml @@ -1,5 +1,5 @@ -title: StackIncludes +title: IncludedStacks description: A resource associated with a stack. type: object additionalProperties: - "$ref": "../stacks/Stack.yml" + $ref: ../stacks/Stack.yml diff --git a/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupIncludes.yml b/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupIncludes.yml index f1d76801..b071b3eb 100644 --- a/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupIncludes.yml +++ b/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupIncludes.yml @@ -3,8 +3,8 @@ description: All includable resource linkable to the given auto-scale group. type: object properties: integrations: - "$ref": "../../../includes/IntegrationsIncludes.yml" + $ref: ../../../includes/IncludedIntegrations.yml models: - "$ref": "../../../includes/ProviderServerModelsIncludes.yml" + $ref: ../../../includes/IncludedProviderServerModels.yml locations: - "$ref": "../../../includes/LocationsIncludes.yml" + $ref: ../../../includes/IncludedLocations.yml diff --git a/components/schemas/infrastructure/ips/IpPoolIncludes.yml b/components/schemas/infrastructure/ips/IpPoolIncludes.yml index 55be9697..38ca8c41 100644 --- a/components/schemas/infrastructure/ips/IpPoolIncludes.yml +++ b/components/schemas/infrastructure/ips/IpPoolIncludes.yml @@ -3,10 +3,10 @@ type: object description: Resources associated with an IP Pool. properties: creators: - "$ref": "../../includes/CreatorInclude.yml" + $ref: ../../includes/IncludedCreators.yml servers: - "$ref": "../../includes/ServersIncludes.yml" + $ref: ../../includes/IncludedServers.yml integrations: - "$ref": "../../includes/IntegrationsIncludes.yml" + $ref: ../../includes/IncludedIntegrations.yml locations: - "$ref": "../../includes/LocationsIncludes.yml" + $ref: ../../includes/IncludedLocations.yml diff --git a/components/schemas/infrastructure/servers/ServerIncludes.yml b/components/schemas/infrastructure/servers/ServerIncludes.yml index 83803861..43a09295 100644 --- a/components/schemas/infrastructure/servers/ServerIncludes.yml +++ b/components/schemas/infrastructure/servers/ServerIncludes.yml @@ -3,12 +3,10 @@ type: object description: A resource associated with a server. properties: locations: - "$ref": "../../includes/LocationsIncludes.yml" + $ref: ../../includes/IncludedLocations.yml clusters: - type: object - additionalProperties: - "$ref": ../clusters/Cluster.yml + $ref: ../../includes/IncludedClusters.yml models: - "$ref": "../../includes/ProviderServerModelsIncludes.yml" + $ref: ../../includes/IncludedProviderServerModels.yml integrations: - "$ref": "../../includes/IntegrationsIncludes.yml" + $ref: ../../includes/IncludedIntegrations.yml diff --git a/components/schemas/jobs/JobIncludes.yml b/components/schemas/jobs/JobIncludes.yml index 4dda74fe..fb1181c6 100644 --- a/components/schemas/jobs/JobIncludes.yml +++ b/components/schemas/jobs/JobIncludes.yml @@ -2,4 +2,4 @@ title: JobIncludes type: object properties: creators: - $ref: ../includes/CreatorInclude.yml + $ref: ../includes/IncludedCreators.yml diff --git a/components/schemas/pipelines/PipelineIncludes.yml b/components/schemas/pipelines/PipelineIncludes.yml index 94b0f887..0bc9335f 100644 --- a/components/schemas/pipelines/PipelineIncludes.yml +++ b/components/schemas/pipelines/PipelineIncludes.yml @@ -3,7 +3,7 @@ description: All includable resources linkable to the given pipeline. type: object properties: creators: - "$ref": "../includes/CreatorInclude.yml" + "$ref": "../includes/IncludedCreators.yml" name: type: string description: A name value. @@ -19,4 +19,4 @@ properties: - "$ref": "../images/Image.yml" - "$ref": "../images/sources/ImageSource.yml" "components:identifiers": - $ref: ../includes/IdentifierIncludes.yml + $ref: ../includes/IncludedIdentifiers.yml diff --git a/components/schemas/pipelines/runs/PipelineRunIncludes.yml b/components/schemas/pipelines/runs/PipelineRunIncludes.yml index 2e104a0e..488ff46b 100644 --- a/components/schemas/pipelines/runs/PipelineRunIncludes.yml +++ b/components/schemas/pipelines/runs/PipelineRunIncludes.yml @@ -3,7 +3,7 @@ description: Resources related to a pipeline run, that can be included on suppor type: object properties: creators: - $ref: ../../../../components/schemas/includes/CreatorInclude.yml + $ref: ../../../../components/schemas/includes/IncludedCreators.yml pipelines: $ref: ../../../../components/schemas/includes/IncludedPipelines.yml keys: diff --git a/components/schemas/sdn/networks/NetworkIncludes.yml b/components/schemas/sdn/networks/NetworkIncludes.yml index 93d52616..c11ea787 100644 --- a/components/schemas/sdn/networks/NetworkIncludes.yml +++ b/components/schemas/sdn/networks/NetworkIncludes.yml @@ -3,6 +3,6 @@ description: All includable resource linkable to the given network. type: object properties: creators: - "$ref": "../../includes/CreatorInclude.yml" + $ref: ../../includes/IncludedCreators.yml environments: - "$ref": "../../includes/EnvironmentIncludes.yml" + $ref: ../../includes/IncludedEnvironments.yml diff --git a/components/schemas/stacks/StackInclude.yml b/components/schemas/stacks/StackInclude.yml index e3f41b05..62fe664a 100644 --- a/components/schemas/stacks/StackInclude.yml +++ b/components/schemas/stacks/StackInclude.yml @@ -1,6 +1,6 @@ title: StackIncludes -description: All includable resources linkable to the given stack. -type: object -properties: +description: All includable resources linkable to the given stack. +type: object +properties: creators: - "$ref": "../includes/CreatorInclude.yml" \ No newline at end of file + "$ref": "../includes/IncludedCreators.yml" diff --git a/platform/paths/billing/orders/includes/BillingOrderIncludes.yml b/platform/paths/billing/orders/includes/BillingOrderIncludes.yml index 9e60b42a..5101cbd6 100644 --- a/platform/paths/billing/orders/includes/BillingOrderIncludes.yml +++ b/platform/paths/billing/orders/includes/BillingOrderIncludes.yml @@ -2,4 +2,4 @@ title: BillingOrderIncludes type: object properties: promo_codes: - "$ref": ../../../../../components/schemas/includes/PromoCodeInclude.yml + $ref: ../../../../../components/schemas/includes/IncludedPromoCodes.yml diff --git a/platform/paths/dns/records/includes/RecordIncludes.yml b/platform/paths/dns/records/includes/RecordIncludes.yml index 122aa26a..968d737f 100644 --- a/platform/paths/dns/records/includes/RecordIncludes.yml +++ b/platform/paths/dns/records/includes/RecordIncludes.yml @@ -3,7 +3,7 @@ description: All includable resources linkable to the given records. type: object properties: creators: - $ref: ../../../../../components/schemas/includes/CreatorInclude.yml + $ref: ../../../../../components/schemas/includes/IncludedCreators.yml containers: type: object additionalProperties: diff --git a/platform/paths/environments/environment.yml b/platform/paths/environments/environment.yml index 3410f587..7d26e04c 100644 --- a/platform/paths/environments/environment.yml +++ b/platform/paths/environments/environment.yml @@ -62,9 +62,9 @@ get: type: object properties: creators: - $ref: ../../../components/schemas/includes/CreatorInclude.yml + $ref: ../../../components/schemas/includes/IncludedCreators.yml clusters: - $ref: ../../../components/schemas/includes/ClusterIncludes.yml + $ref: ../../../components/schemas/includes/IncludedClusters.yml default: $ref: ../../../components/responses/errors/DefaultError.yml diff --git a/platform/paths/environments/environments.yml b/platform/paths/environments/environments.yml index 9ab717c9..257e2953 100644 --- a/platform/paths/environments/environments.yml +++ b/platform/paths/environments/environments.yml @@ -89,7 +89,7 @@ get: type: object properties: creators: - $ref: ../../../components/schemas/includes/CreatorInclude.yml + $ref: ../../../components/schemas/includes/IncludedCreators.yml default: $ref: ../../../components/responses/errors/DefaultError.yml diff --git a/platform/paths/environments/services/loadbalancer/telemetry/includes/controllers.yml b/platform/paths/environments/services/loadbalancer/telemetry/includes/controllers.yml index 5f63057c..1c5f7cad 100644 --- a/platform/paths/environments/services/loadbalancer/telemetry/includes/controllers.yml +++ b/platform/paths/environments/services/loadbalancer/telemetry/includes/controllers.yml @@ -3,10 +3,10 @@ description: Optionally included resources for load balancer controllers type: object properties: creators: - $ref: ../../../../../../../components/schemas/includes/CreatorInclude.yml + $ref: ../../../../../../../components/schemas/includes/IncludedCreators.yml stack_builds: - $ref: ../../../../../../../components/schemas/includes/StackBuildIncludes.yml + $ref: ../../../../../../../components/schemas/includes/IncludedStackBuilds.yml stacks: - $ref: ../../../../../../../components/schemas/includes/StackIncludes.yml + $ref: ../../../../../../../components/schemas/includes/IncludedStacks.yml sources: - $ref: ../../../../../../../components/schemas/includes/ImageSourceIncludes.yml \ No newline at end of file + $ref: ../../../../../../../components/schemas/includes/IncludedImageSources.yml diff --git a/platform/paths/pipelines/run.yml b/platform/paths/pipelines/run.yml index 33e4bc93..10048faa 100644 --- a/platform/paths/pipelines/run.yml +++ b/platform/paths/pipelines/run.yml @@ -47,6 +47,6 @@ get: type: object properties: creators: - "$ref": "../../../components/schemas/includes/CreatorInclude.yml" + "$ref": "../../../components/schemas/includes/IncludedCreators.yml" default: $ref: ../../../components/responses/errors/DefaultError.yml diff --git a/platform/paths/pipelines/runs.yml b/platform/paths/pipelines/runs.yml index 3d4b255e..39d9d577 100644 --- a/platform/paths/pipelines/runs.yml +++ b/platform/paths/pipelines/runs.yml @@ -47,6 +47,6 @@ get: type: object properties: creators: - "$ref": "../../../components/schemas/includes/CreatorInclude.yml" + "$ref": "../../../components/schemas/includes/IncludedCreators.yml" default: $ref: ../../../components/responses/errors/DefaultError.yml diff --git a/platform/paths/utils/components/lookup.yml b/platform/paths/utils/components/lookup.yml index 0f0e1850..b1906bc2 100644 --- a/platform/paths/utils/components/lookup.yml +++ b/platform/paths/utils/components/lookup.yml @@ -1,12 +1,12 @@ post: - operationId: "lookupComponents" + operationId: lookupComponents summary: | Look up Cycle components (resources such as containers, servers, etc) based on their ID. Useful when the IDs are known ahead of time - all relevant items can be fetched in a single request. tags: - Utility requestBody: - description: | + description: | Accepts an array of component lookup objects. Consists of the type of resource to look up, and the ID. content: @@ -39,6 +39,6 @@ post: - data properties: data: - $ref: ../../../../components/schemas/includes/ComponentsIncludes.yml + $ref: ../../../../components/schemas/includes/IncludedComponents.yml default: $ref: ../../../../components/responses/errors/DefaultError.yml diff --git a/platform/paths/virtual-machines/includes/VirtualMachineIncludes.yml b/platform/paths/virtual-machines/includes/VirtualMachineIncludes.yml index 0ceebfb4..b9cb171d 100644 --- a/platform/paths/virtual-machines/includes/VirtualMachineIncludes.yml +++ b/platform/paths/virtual-machines/includes/VirtualMachineIncludes.yml @@ -3,20 +3,12 @@ description: All includable resources linkable to the given virtual machine. type: object properties: creators: - $ref: ../../../../components/schemas/includes/CreatorInclude.yml + $ref: ../../../../components/schemas/includes/IncludedCreators.yml environments: - type: object - additionalProperties: - $ref: ../../../../components/schemas/environments/Environment.yml + $ref: ../../../../components/schemas/includes/IncludedEnvironments.yml environments:identifiers: - type: object - additionalProperties: - $ref: ../../../../components/schemas/ID.yml + $ref: ../../../../components/schemas/includes/IncludedIdentifiers.yml clusters: - type: object - additionalProperties: - $ref: ../../../../components/schemas/infrastructure/clusters/Cluster.yml + $ref: ../../../../components/schemas/includes/IncludedClusters.yml containers: - type: object - additionalProperties: - $ref: ../../../../components/schemas/containers/Container.yml + $ref: ../../../../components/schemas/includes/IncludedContainers.yml diff --git a/platform/paths/virtual-machines/includes/VirtualMachineSshIncludes.yml b/platform/paths/virtual-machines/includes/VirtualMachineSshIncludes.yml index 35fa1210..3619bf52 100644 --- a/platform/paths/virtual-machines/includes/VirtualMachineSshIncludes.yml +++ b/platform/paths/virtual-machines/includes/VirtualMachineSshIncludes.yml @@ -3,12 +3,8 @@ description: All includable resources linkable to the given virtual machine SSH type: object properties: creators: - $ref: ../../../../components/schemas/includes/CreatorInclude.yml + $ref: ../../../../components/schemas/includes/IncludedCreators.yml environments: - type: object - additionalProperties: - $ref: ../../../../components/schemas/environments/Environment.yml + $ref: ../../../../components/schemas/includes/IncludedEnvironments.yml environments:identifiers: - type: object - additionalProperties: - $ref: ../../../../components/schemas/ID.yml + $ref: ../../../../components/schemas/includes/IncludedIdentifiers.yml