mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-19 17:31:39 +02:00
Update route API doc with max domain number (#2516)
This commit is contained in:
parent
92a0092ad5
commit
95174d4619
@ -1064,12 +1064,12 @@ components:
|
||||
type: string
|
||||
example: 10.64.0.0/24
|
||||
domains:
|
||||
description: Domain list to be dynamically resolved. Conflicts with network
|
||||
description: Domain list to be dynamically resolved. Max of 32 domains can be added per route configuration. Conflicts with network
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 255
|
||||
maxLength: 32
|
||||
example: "example.com"
|
||||
metric:
|
||||
description: Route metric number. Lowest number has higher priority
|
||||
|
@ -995,7 +995,7 @@ type Route struct {
|
||||
// Description Route description
|
||||
Description string `json:"description"`
|
||||
|
||||
// Domains Domain list to be dynamically resolved. Conflicts with network
|
||||
// Domains Domain list to be dynamically resolved. Max of 32 domains can be added per route configuration. Conflicts with network
|
||||
Domains *[]string `json:"domains,omitempty"`
|
||||
|
||||
// Enabled Route status
|
||||
@ -1037,7 +1037,7 @@ type RouteRequest struct {
|
||||
// Description Route description
|
||||
Description string `json:"description"`
|
||||
|
||||
// Domains Domain list to be dynamically resolved. Conflicts with network
|
||||
// Domains Domain list to be dynamically resolved. Max of 32 domains can be added per route configuration. Conflicts with network
|
||||
Domains *[]string `json:"domains,omitempty"`
|
||||
|
||||
// Enabled Route status
|
||||
|
Loading…
x
Reference in New Issue
Block a user