From 9ef10da6a7b4e28e8c396fa702783b2faad3a367 Mon Sep 17 00:00:00 2001 From: zhnd Date: Fri, 13 Sep 2024 14:15:00 +0800 Subject: [PATCH] feat: update swagger spec of er alg protocol --- .../static/specs/4.4.0-swagger.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/cloudtower-api-doc/static/specs/4.4.0-swagger.json b/cloudtower-api-doc/static/specs/4.4.0-swagger.json index 9b85d08..f26158c 100644 --- a/cloudtower-api-doc/static/specs/4.4.0-swagger.json +++ b/cloudtower-api-doc/static/specs/4.4.0-swagger.json @@ -74109,6 +74109,13 @@ "type": "object", "additionalProperties": false }, + "NetworkPolicyRuleAlgProtocol": { + "enum": [ + "FTP", + "TFTP" + ], + "type": "string" + }, "NetworkPolicyRulePortProtocol": { "enum": [ "ALG", @@ -74121,6 +74128,14 @@ }, "NestedNetworkPolicyRulePort": { "properties": { + "alg_protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkPolicyRuleAlgProtocol" + } + ], + "nullable": true + }, "port": { "type": "string", "nullable": true @@ -74328,6 +74343,9 @@ }, "NetworkPolicyRulePortInput": { "properties": { + "alg_protocol": { + "$ref": "#/components/schemas/NetworkPolicyRuleAlgProtocol" + }, "protocol": { "$ref": "#/components/schemas/NetworkPolicyRulePortProtocol" },