Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jun 6, 2024
1 parent 0ca04d2 commit 2f0a4f2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1338
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b02b68427ca7af705b9f5f833944a4959877bb48cb88a7dc74dd8bfbf2d9a25a.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-0ec270b3c03c21a8d2358f8bf7726d82da5aa7eda902b5df86220f550eac2c2e.yml
5 changes: 0 additions & 5 deletions src/resources/rulesets/phases/phases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -717,11 +717,6 @@ export interface PhaseUpdateParams {
* Body param: The human-readable name of the ruleset.
*/
name?: string;

/**
* Body param: The phase of the ruleset.
*/
phase?: RulesetsAPI.PhaseParam;
}

export namespace PhaseUpdateParams {
Expand Down
5 changes: 0 additions & 5 deletions src/resources/rulesets/rulesets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,6 @@ export interface Ruleset {
* The human-readable name of the ruleset.
*/
name?: string;

/**
* The phase of the ruleset.
*/
phase?: Phase;
}

/**
Expand Down
1 change: 0 additions & 1 deletion tests/api-resources/rulesets/phases/phases.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ describe('resource phases', () => {
account_id: 'string',
description: 'My ruleset to execute managed rulesets',
name: 'My ruleset',
phase: 'http_request_firewall_custom',
});
});

Expand Down

0 comments on commit 2f0a4f2

Please sign in to comment.