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 authored and netweng committed Oct 9, 2024
1 parent 30c7f6b commit b564e32
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions 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 Down

0 comments on commit b564e32

Please sign in to comment.