Skip to content

Commit

Permalink
feat: update swagger spec of er alg protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
zhnd committed Sep 13, 2024
1 parent 7546d58 commit 5023c73
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion cloudtower-api-doc/static/specs/4.4.0-swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -74109,6 +74109,13 @@
"type": "object",
"additionalProperties": false
},
"NetworkPolicyRuleAlgProtocol": {
"enum": [
"FTP",
"TFTP"
],
"type": "string"
},
"NetworkPolicyRulePortProtocol": {
"enum": [
"ALG",
Expand All @@ -74121,6 +74128,14 @@
},
"NestedNetworkPolicyRulePort": {
"properties": {
"alg_protocol": {
"allOf": [
{
"$ref": "#/components/schemas/NetworkPolicyRuleAlgProtocol"
}
],
"nullable": true
},
"port": {
"type": "string",
"nullable": true
Expand Down Expand Up @@ -74328,6 +74343,9 @@
},
"NetworkPolicyRulePortInput": {
"properties": {
"alg_protocol": {
"$ref": "#/components/schemas/NetworkPolicyRuleAlgProtocol"
},
"protocol": {
"$ref": "#/components/schemas/NetworkPolicyRulePortProtocol"
},
Expand All @@ -74340,10 +74358,16 @@
],
"type": "object"
},
"SecurityPolicyFlowControlType": {
"enum": [
"ALL"
],
"type": "string"
},
"SecurityPolicyIngressEgressInput": {
"properties": {
"type": {
"$ref": "#/components/schemas/NetworkPolicyRuleType"
"$ref": "#/components/schemas/SecurityPolicyFlowControlType"
},
"ports": {
"items": {
Expand Down

0 comments on commit 5023c73

Please sign in to comment.