Update route API doc with max domain number (#2516)

This commit is contained in:
Maycon Santos
2024-09-02 17:40:34 +02:00
committed by GitHub
parent 92a0092ad5
commit 95174d4619
2 changed files with 5 additions and 5 deletions

View File

@@ -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
@@ -2759,4 +2759,4 @@ paths:
'403':
"$ref": "#/components/responses/forbidden"
'500':
"$ref": "#/components/responses/internal_error"
"$ref": "#/components/responses/internal_error"