mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-21 09:46:40 +00:00
Add GroupMinimum to the SetupKey response
This commit is contained in:
@@ -138,7 +138,7 @@ components:
|
||||
description: Setup key groups to auto-assign to peers registered with this key
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
$ref: '#/components/schemas/GroupMinimum'
|
||||
updated_at:
|
||||
description: Setup key last update date
|
||||
type: string
|
||||
|
||||
@@ -300,7 +300,7 @@ type RulePatchOperationPath string
|
||||
// SetupKey defines model for SetupKey.
|
||||
type SetupKey struct {
|
||||
// Setup key groups to auto-assign to peers registered with this key
|
||||
AutoGroups []string `json:"auto_groups"`
|
||||
AutoGroups []GroupMinimum `json:"auto_groups"`
|
||||
|
||||
// Setup Key expiration date
|
||||
Expires time.Time `json:"expires"`
|
||||
|
||||
Reference in New Issue
Block a user