From 7857f71d31f62ec38468d08e0879db957b3571bc Mon Sep 17 00:00:00 2001 From: Dan Mills Date: Fri, 1 Aug 2025 12:57:37 -0700 Subject: [PATCH] fix(oas): add required properties to api components (#5696) * Add required properties * Remove setIdentifier and recordTTL as not all requests have them --- api/webhook.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/api/webhook.yaml b/api/webhook.yaml index 3ab56cb75..eb8d61fcc 100644 --- a/api/webhook.yaml +++ b/api/webhook.yaml @@ -147,6 +147,8 @@ components: description: | external-dns will only create DNS records for host names (specified in ingress objects and services with the external-dns annotation) related to zones that match filters. They can set in external-dns deployment manifest. type: object + required: + - filters properties: filters: type: array @@ -175,6 +177,10 @@ components: description: | This is a DNS record. type: object + required: + - dnsName + - targets + - recordType properties: dnsName: type: string @@ -226,6 +232,9 @@ components: description: | Allows provider to pass property specific to their implementation. type: object + required: + - name + - value properties: name: type: string