From 74fde0ea2c1cc71fc203e5f509a85cef2b09f1fd Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Wed, 2 Aug 2023 17:50:00 +0200 Subject: [PATCH] Update setup key auto_groups description (#1042) * Update setup key auto_groups description * Update setup key auto_groups description --- management/server/http/api/openapi.yml | 4 ++-- management/server/http/api/types.gen.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/management/server/http/api/openapi.yml b/management/server/http/api/openapi.yml index f7fbca769..d109113d9 100644 --- a/management/server/http/api/openapi.yml +++ b/management/server/http/api/openapi.yml @@ -327,7 +327,7 @@ components: type: string example: valid auto_groups: - description: Setup key groups to auto-assign to peers registered with this key + description: List of group IDs to auto-assign to peers registered with this key type: array items: type: string @@ -375,7 +375,7 @@ components: type: boolean example: false auto_groups: - description: Setup key groups to auto-assign to peers registered with this key + description: List of group IDs to auto-assign to peers registered with this key type: array items: type: string diff --git a/management/server/http/api/types.gen.go b/management/server/http/api/types.gen.go index ef4a2b682..3f58b0c70 100644 --- a/management/server/http/api/types.gen.go +++ b/management/server/http/api/types.gen.go @@ -681,7 +681,7 @@ type RuleRequest struct { // SetupKey defines model for SetupKey. type SetupKey struct { - // AutoGroups Setup key groups to auto-assign to peers registered with this key + // AutoGroups List of group IDs to auto-assign to peers registered with this key AutoGroups []string `json:"auto_groups"` // Expires Setup Key expiration date @@ -723,7 +723,7 @@ type SetupKey struct { // SetupKeyRequest defines model for SetupKeyRequest. type SetupKeyRequest struct { - // AutoGroups Setup key groups to auto-assign to peers registered with this key + // AutoGroups List of group IDs to auto-assign to peers registered with this key AutoGroups []string `json:"auto_groups"` // ExpiresIn Expiration time in seconds