Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#1847)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 26, 2024
1 parent af2b58e commit c50388e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
@@ -1,2 +1,2 @@
configured_endpoints: 1266
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e202d9b1bb049167a2efb5c3981c53af7bab82b6411bbbd684557eef5b435880.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e04cfc56c4a869fdc91838cb9891046cf1686ec4e45d7f7fa558cfc7e4072700.yml
6 changes: 2 additions & 4 deletions zones/zone.go
Expand Up @@ -141,11 +141,10 @@ type Zone struct {
ModifiedOn time.Time `json:"modified_on,required" format:"date-time"`
// The domain name
Name string `json:"name,required"`
// The name servers Cloudflare assigns to a zone
NameServers []string `json:"name_servers,required" format:"hostname"`
// DNS host at the time of switching to Cloudflare
OriginalDnshost string `json:"original_dnshost,required,nullable"`
// Original name servers before moving to Cloudflare
// Original name servers before moving to Cloudflare Notes: Is this only available
// for full zones?
OriginalNameServers []string `json:"original_name_servers,required,nullable" format:"hostname"`
// Registrar for the domain at the time of switching to Cloudflare
OriginalRegistrar string `json:"original_registrar,required,nullable"`
Expand All @@ -167,7 +166,6 @@ type zoneJSON struct {
Meta apijson.Field
ModifiedOn apijson.Field
Name apijson.Field
NameServers apijson.Field
OriginalDnshost apijson.Field
OriginalNameServers apijson.Field
OriginalRegistrar apijson.Field
Expand Down

0 comments on commit c50388e

Please sign in to comment.