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
2 changes: 1 addition & 1 deletion components/schemas/containers/ContainersMeta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ properties:
type: string
description: The fully qualified domain name.
record:
"$ref": "../dns/records/Record.yml"
"$ref": "../dns/records/DnsRecord.yml"
ips:
description: An array of IP resources.
type: array
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: DNSZone
title: DnsZone
type: object
description: DNS (Domain Name System), in short, is a decentralized naming system for computers, services, or other resources connected to the internet or a private network. It is what allows the translation of a URL, such as http://example.com, to an IP address.
required:
Expand All @@ -24,10 +24,10 @@ properties:
description: A boolean where true represents this zone is a hosted zone.
acl:
anyOf:
- $ref: ../common/ACL.yml
- $ref: ../common/ACL.yml
- type: "null"
state:
"$ref": "./ZoneState.yml"
"$ref": "./DnsZoneState.yml"
events:
title: ZoneEvents
type: object
Expand Down
6 changes: 6 additions & 0 deletions components/schemas/dns/DnsZoneIncludes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: DnsZoneIncludes
description: All includable resources linkable to the given Zone.
type: object
properties:
creators:
"$ref": "../includes/CreatorInclude.yml"
17 changes: 17 additions & 0 deletions components/schemas/dns/DnsZoneState.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
title: DnsZoneState
allOf:
- required:
- current
properties:
current:
description: The current state of the zone.
type: string
enum:
- new
- pending
- verifying
- live
- disabled
- deleting
- deleted
- "$ref": "../State.yml"
6 changes: 0 additions & 6 deletions components/schemas/dns/ZoneIncludes.yml

This file was deleted.

17 changes: 0 additions & 17 deletions components/schemas/dns/ZoneState.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: DNSRecord
title: DnsRecord
type: object
description: A DNS record.
required:
Expand Down Expand Up @@ -29,7 +29,7 @@ properties:
type: string
description: The name of the record and the origin as a domain name.
type:
$ref: RecordTypes.yml
$ref: DnsRecordTypes.yml
features:
type:
- object
Expand All @@ -40,9 +40,9 @@ properties:
properties:
certificate:
anyOf:
- $ref: RecordTlsCertificate.yml
- $ref: DnsRecordTlsCertificate.yml
- type: "null"
state:
$ref: RecordState.yml
$ref: DnsRecordState.yml
events:
$ref: ../../Events.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: DNSRecordState
title: DnsRecordState
allOf:
- required:
- current
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: RecordTlsCertificate
title: DnsRecordTlsCertificate
type: object
description: A TLS certificate assigned to a DNS record.
required:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: DNSRecordTypes
title: DnsRecordTypes
type: object
description: DNS record types the platform supports.
properties:
Expand Down
4 changes: 2 additions & 2 deletions components/schemas/includes/ComponentsIncludes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ additionalProperties:
- $ref: ../hubs/integrations/Integration.yml
- $ref: ../stacks/Stack.yml
- $ref: ../stacks/builds/StackBuild.yml
- $ref: ../dns/Zone.yml
- $ref: ../dns/records/Record.yml
- $ref: ../dns/DnsZone.yml
- $ref: ../dns/records/DnsRecord.yml
- $ref: ../dns/tls/TlsCertificate.yml
- $ref: ../hubs/ApiKey.yml
- $ref: ../sdn/networks/Network.yml
Expand Down
2 changes: 1 addition & 1 deletion components/schemas/vms/VirtualMachineMeta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ properties:
description: The fully qualified domain name.
record:
anyOf:
- $ref: ../dns/records/Record.yml
- $ref: ../dns/records/DnsRecord.yml
- type: "null"
required:
- fqdn
Expand Down
2 changes: 1 addition & 1 deletion internal/paths/container/domains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ get:
type: string
description: The fully qualified domain name.
record:
$ref: ../../../components/schemas/dns/records/Record.yml
$ref: ../../../components/schemas/dns/records/DnsRecord.yml
4 changes: 2 additions & 2 deletions internal/paths/virtual-machine/domains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ get:
operationId: "getVirtualMachineDomains"
summary: Get Virtual Machine Domains
description: |
Returns the domains associated with the specified virtual machine.
Returns the domains associated with the specified virtual machine.
tags:
- Virtual Machines
parameters:
Expand Down Expand Up @@ -35,4 +35,4 @@ get:
type: string
record:
anyOf:
- $ref: ../../../components/schemas/dns/records/Record.yml
- $ref: ../../../components/schemas/dns/records/DnsRecord.yml
4 changes: 2 additions & 2 deletions platform/paths/dns/access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ patch:
- data
properties:
data:
$ref: ../../../components/schemas/dns/Zone.yml
$ref: ../../../components/schemas/dns/DnsZone.yml
includes:
$ref: ../../../components/schemas/dns/ZoneIncludes.yml
$ref: ../../../components/schemas/dns/DnsZoneIncludes.yml
default:
$ref: ../../../components/responses/errors/DefaultError.yml
4 changes: 2 additions & 2 deletions platform/paths/dns/records/record.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ patch:
- type
properties:
type:
$ref: ../../../../components/schemas/dns/records/RecordTypes.yml
$ref: ../../../../components/schemas/dns/records/DnsRecordTypes.yml
responses:
200:
description: Returns a DNS Zone Record.
Expand All @@ -40,7 +40,7 @@ patch:
- data
properties:
data:
$ref: ../../../../components/schemas/dns/records/Record.yml
$ref: ../../../../components/schemas/dns/records/DnsRecord.yml
includes:
$ref: includes/RecordIncludes.yml
default:
Expand Down
6 changes: 3 additions & 3 deletions platform/paths/dns/records/records.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ get:
data:
type: array
items:
$ref: ../../../../components/schemas/dns/records/Record.yml
$ref: ../../../../components/schemas/dns/records/DnsRecord.yml
includes:
$ref: includes/RecordIncludes.yml
default:
Expand Down Expand Up @@ -75,7 +75,7 @@ post:
- name
properties:
type:
$ref: ../../../../components/schemas/dns/records/RecordTypes.yml
$ref: ../../../../components/schemas/dns/records/DnsRecordTypes.yml
name:
type: string
description: A name for the given record where `@` represents the desire to use the root of the origin.
Expand All @@ -91,7 +91,7 @@ post:
- data
properties:
data:
$ref: ../../../../components/schemas/dns/records/Record.yml
$ref: ../../../../components/schemas/dns/records/DnsRecord.yml
includes:
$ref: includes/RecordIncludes.yml
default:
Expand Down
8 changes: 4 additions & 4 deletions platform/paths/dns/zone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ get:
- data
properties:
data:
$ref: ../../../components/schemas/dns/Zone.yml
$ref: ../../../components/schemas/dns/DnsZone.yml
default:
$ref: ../../../components/responses/errors/DefaultError.yml
patch:
Expand Down Expand Up @@ -60,7 +60,7 @@ patch:
type: object
properties:
hosted:
type:
type:
- boolean
- "null"
description: A boolean where true represents the desire for the origin to be of the type `hosted`.
Expand All @@ -76,9 +76,9 @@ patch:
- data
properties:
data:
$ref: ../../../components/schemas/dns/Zone.yml
$ref: ../../../components/schemas/dns/DnsZone.yml
includes:
$ref: ../../../components/schemas/dns/ZoneIncludes.yml
$ref: ../../../components/schemas/dns/DnsZoneIncludes.yml
default:
$ref: ../../../components/responses/errors/DefaultError.yml
delete:
Expand Down
8 changes: 4 additions & 4 deletions platform/paths/dns/zones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ get:
data:
type: array
items:
$ref: ../../../components/schemas/dns/Zone.yml
$ref: ../../../components/schemas/dns/DnsZone.yml
includes:
$ref: ../../../components/schemas/dns/ZoneIncludes.yml
$ref: ../../../components/schemas/dns/DnsZoneIncludes.yml
default:
$ref: ../../../components/responses/errors/DefaultError.yml
post:
Expand Down Expand Up @@ -79,7 +79,7 @@ post:
description: The origin that will be created.
acl:
anyOf:
- $ref: ../../../components/schemas/common/ACL.yml
- $ref: ../../../components/schemas/common/ACL.yml
- type: "null"

responses:
Expand All @@ -93,6 +93,6 @@ post:
- data
properties:
data:
$ref: ../../../components/schemas/dns/Zone.yml
$ref: ../../../components/schemas/dns/DnsZone.yml
default:
$ref: ../../../components/responses/errors/DefaultError.yml