Skip to content

Commit 99fdb7a

Browse files
committed
Add required property designations
1 parent 9bc3428 commit 99fdb7a

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

openapi.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11022,8 +11022,9 @@ paths:
1102211022
- Networking
1102311023
summary: Firewall Rules Update
1102411024
description: |
11025-
Updates the inbound and outbound Rules for a Firewall. Using this endpoint will
11026-
replace all of a Firewall's ruleset with the Rules specified in your request.
11025+
Updates the inbound and outbound Rules for a Firewall.
11026+
11027+
**Note:** This command replaces all of a Firewall's `inbound` and/or `outbound` rulesets with the values specified in your request.
1102711028
operationId: updateFirewallRules
1102811029
x-linode-cli-action: rules-update
1102911030
security:
@@ -11035,7 +11036,19 @@ paths:
1103511036
content:
1103611037
application/json:
1103711038
schema:
11038-
$ref: '#/components/schemas/Firewall/properties/rules'
11039+
allOf:
11040+
- $ref: '#/components/schemas/Firewall/properties/rules'
11041+
properties:
11042+
inbound:
11043+
required:
11044+
- action
11045+
- addresses
11046+
- protocol
11047+
outbound:
11048+
required:
11049+
- action
11050+
- addresses
11051+
- protocol
1103911052
responses:
1104011053
'200':
1104111054
description: Firewall Rules updated successfully.

0 commit comments

Comments
 (0)