diff --git a/management/server/http/api/openapi.yml b/management/server/http/api/openapi.yml index 45887dc2e..d32ec6167 100644 --- a/management/server/http/api/openapi.yml +++ b/management/server/http/api/openapi.yml @@ -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" \ No newline at end of file + "$ref": "#/components/responses/internal_error" diff --git a/management/server/http/api/types.gen.go b/management/server/http/api/types.gen.go index 77a6c643d..a575ff54b 100644 --- a/management/server/http/api/types.gen.go +++ b/management/server/http/api/types.gen.go @@ -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