Update setup key auto_groups description (#1042)

* Update setup key auto_groups description

* Update setup key auto_groups description
This commit is contained in:
Maycon Santos 2023-08-02 17:50:00 +02:00 committed by GitHub
parent 890e09b787
commit 74fde0ea2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -327,7 +327,7 @@ components:
type: string type: string
example: valid example: valid
auto_groups: 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 type: array
items: items:
type: string type: string
@ -375,7 +375,7 @@ components:
type: boolean type: boolean
example: false example: false
auto_groups: 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 type: array
items: items:
type: string type: string

View File

@ -681,7 +681,7 @@ type RuleRequest struct {
// SetupKey defines model for SetupKey. // SetupKey defines model for SetupKey.
type SetupKey struct { 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"` AutoGroups []string `json:"auto_groups"`
// Expires Setup Key expiration date // Expires Setup Key expiration date
@ -723,7 +723,7 @@ type SetupKey struct {
// SetupKeyRequest defines model for SetupKeyRequest. // SetupKeyRequest defines model for SetupKeyRequest.
type SetupKeyRequest struct { 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"` AutoGroups []string `json:"auto_groups"`
// ExpiresIn Expiration time in seconds // ExpiresIn Expiration time in seconds