From 19b8d34590556fdb1a13813cb540ee0a192abb98 Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Wed, 7 Feb 2024 11:21:54 +0100 Subject: [PATCH] BUG/MINOR: groups: flat response for single item --- specification/build/haproxy_spec.yaml | 5 +---- specification/paths/configuration/userlist.yaml | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/specification/build/haproxy_spec.yaml b/specification/build/haproxy_spec.yaml index f351cc83..83756667 100644 --- a/specification/build/haproxy_spec.yaml +++ b/specification/build/haproxy_spec.yaml @@ -11972,10 +11972,7 @@ paths: description: Configuration file version type: string schema: - properties: - data: - $ref: '#/definitions/group' - type: object + $ref: '#/definitions/group' "404": $ref: '#/responses/AlreadyExists' default: diff --git a/specification/paths/configuration/userlist.yaml b/specification/paths/configuration/userlist.yaml index bc59e35c..bb852919 100644 --- a/specification/paths/configuration/userlist.yaml +++ b/specification/paths/configuration/userlist.yaml @@ -364,10 +364,7 @@ groups_one: description: Configuration file version type: string schema: - type: object - properties: - data: - $ref: "#/definitions/group" + $ref: "#/definitions/group" '404': $ref: '#/responses/AlreadyExists' 'default':