Skip to content

Commit

Permalink
Simpler naming
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Feb 14, 2024
1 parent fe197bb commit 668fc56
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions api/models/v1_firewall_egress_rule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions api/models/v1_firewall_ingress_rule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions metal-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@
],
"type": "string"
},
"to_cidrs": {
"to": {
"description": "the cidrs affected by this rule",
"items": {
"type": "string"
Expand All @@ -1145,7 +1145,7 @@
},
"required": [
"ports",
"to_cidrs"
"to"
]
},
"v1.FirewallFindRequest": {
Expand Down Expand Up @@ -1336,7 +1336,7 @@
"description": "an optional comment describing what this rule is used for",
"type": "string"
},
"from_cidrs": {
"from": {
"description": "the cidrs affected by this rule",
"items": {
"type": "string"
Expand All @@ -1359,7 +1359,7 @@
],
"type": "string"
},
"to_cidrs": {
"to": {
"description": "the cidrs affected by this rule",
"items": {
"type": "string"
Expand All @@ -1368,9 +1368,9 @@
}
},
"required": [
"from_cidrs",
"from",
"ports",
"to_cidrs"
"to"
]
},
"v1.FirewallResponse": {
Expand Down

0 comments on commit 668fc56

Please sign in to comment.