Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 7, 2024
1 parent 8b87eb0 commit 13f3d4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 1267
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-efb5805d496f252c658aad63c93537ff3b2ff4c164999f326a7061d0b22866a4.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-0afa9378dad17dedd91687a59735a917fefb1adadc097a7902ccaae3ebdda360.yml
2 changes: 1 addition & 1 deletion src/resources/origin-ca-certificates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,5 @@ export interface OriginCACertificateListParams {
/**
* Identifier
*/
identifier?: string;
zone_id?: string;
}
2 changes: 1 addition & 1 deletion tests/api-resources/origin-ca-certificates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('resource originCACertificates', () => {
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
await expect(
cloudflare.originCACertificates.list(
{ identifier: '023e105f4ecef8ad9ca31a8372d0c353' },
{ zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
{ path: '/_stainless_unknown_path' },
),
).rejects.toThrow(Cloudflare.NotFoundError);
Expand Down

0 comments on commit 13f3d4f

Please sign in to comment.