Skip to content

Make dns port be string and number #30061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-06-24 13:21:45.209624",
"spec_repo_commit": "8772660e"
"regenerated": "2025-06-25 11:41:59.055488",
"spec_repo_commit": "5d86661b"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-06-24 13:21:54.393681",
"spec_repo_commit": "8772660e"
"regenerated": "2025-06-25 11:42:08.256955",
"spec_repo_commit": "5d86661b"
}
}
}
152 changes: 114 additions & 38 deletions content/en/api/v1/synthetics/examples.json

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion data/api/v1/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17438,8 +17438,8 @@ components:
description: DNS server to use for DNS tests.
type: string
dnsServerPort:
$ref: '#/components/schemas/SyntheticsTestRequestDNSServerPort'
description: DNS server port to use for DNS tests.
type: string
files:
description: Files to be used as part of the request in the test. Only valid
if `bodyType` is `multipart/form-data`.
Expand Down Expand Up @@ -17593,6 +17593,15 @@ components:
description: Date of update of the certificate or key, ISO format.
type: string
type: object
SyntheticsTestRequestDNSServerPort:
description: DNS server port to use for DNS tests.
oneOf:
- $ref: '#/components/schemas/SyntheticsTestRequestNumericalDNSServerPort'
- $ref: '#/components/schemas/SyntheticsTestRequestVariableDNSServerPort'
SyntheticsTestRequestNumericalDNSServerPort:
description: Integer DNS server port number to use when performing the test.
format: int64
type: integer
SyntheticsTestRequestNumericalPort:
description: Integer Port number to use when performing the test.
format: int64
Expand All @@ -17614,6 +17623,10 @@ components:
required:
- url
type: object
SyntheticsTestRequestVariableDNSServerPort:
description: String DNS server port number to use when performing the test.
Supports templated variables.
type: string
SyntheticsTestRequestVariablePort:
description: String Port number to use when performing the test. Supports templated
variables.
Expand Down
Loading
Loading