Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Mar 27, 2024
1 parent c43bb8a commit b682148
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions firewall/accessrule.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ func (r *AccessRuleService) Delete(ctx context.Context, identifier interface{},
return
}

// Updates an IP Access rule defined at the account level.
// Updates an IP Access rule defined.
//
// Note: This operation will affect all zones in the account.
// Note: This operation will affect all zones in the account or zone.
func (r *AccessRuleService) Edit(ctx context.Context, identifier interface{}, params AccessRuleEditParams, opts ...option.RequestOption) (res *AccessRuleEditResponse, err error) {
opts = append(r.Options[:], opts...)
var env AccessRuleEditResponseEnvelope
Expand Down
2 changes: 1 addition & 1 deletion rulesets/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (r *RuleService) Delete(ctx context.Context, rulesetID string, ruleID strin
return
}

// Updates an existing rule in an account ruleset.
// Updates an existing rule in an account or zone ruleset.
func (r *RuleService) Edit(ctx context.Context, rulesetID string, ruleID string, params RuleEditParams, opts ...option.RequestOption) (res *RulesetsRulesetResponse, err error) {
opts = append(r.Options[:], opts...)
var env RuleEditResponseEnvelope
Expand Down

0 comments on commit b682148

Please sign in to comment.