From b5f3e6471da5e5043190f086a081b840a71be22d Mon Sep 17 00:00:00 2001 From: Aurelien Maigret Date: Fri, 26 Apr 2024 12:11:55 +0200 Subject: [PATCH] BUG/MINOR: spec: defaults/frontend unique_id_header is optional --- specification/build/haproxy_spec.yaml | 6 ------ specification/models/configuration/defaults.yaml | 3 --- specification/models/configuration/frontend.yaml | 3 --- 3 files changed, 12 deletions(-) diff --git a/specification/build/haproxy_spec.yaml b/specification/build/haproxy_spec.yaml index 106a04e4..58b91db1 100644 --- a/specification/build/haproxy_spec.yaml +++ b/specification/build/haproxy_spec.yaml @@ -2285,9 +2285,6 @@ definitions: x-display-name: Unique ID format unique_id_header: type: string - x-dependency: - unique_id_format: - required: true x-display-name: Unique ID header title: Defaults type: object @@ -2613,9 +2610,6 @@ definitions: x-display-name: Unique ID format unique_id_header: type: string - x-dependency: - unique_id_format: - required: true x-display-name: Unique ID header required: - name diff --git a/specification/models/configuration/defaults.yaml b/specification/models/configuration/defaults.yaml index efbb69f5..74eff37d 100644 --- a/specification/models/configuration/defaults.yaml +++ b/specification/models/configuration/defaults.yaml @@ -213,9 +213,6 @@ defaults: unique_id_header: type: string x-display-name: Unique ID header - x-dependency: - unique_id_format: - required: true logasap: type: string enum: [enabled, disabled] diff --git a/specification/models/configuration/frontend.yaml b/specification/models/configuration/frontend.yaml index 717abf69..60444c00 100644 --- a/specification/models/configuration/frontend.yaml +++ b/specification/models/configuration/frontend.yaml @@ -143,9 +143,6 @@ frontend: unique_id_header: type: string x-display-name: Unique ID header - x-dependency: - unique_id_format: - required: true accept_invalid_http_request: type: string enum: [enabled, disabled]