Skip to content

Updating Open API Specs Jul 21st, 2026#34

Merged
cb-alish merged 1 commit into
mainfrom
update-specs-2026-07-21
Jul 23, 2026
Merged

Updating Open API Specs Jul 21st, 2026#34
cb-alish merged 1 commit into
mainfrom
update-specs-2026-07-21

Conversation

@cb-alish

@cb-alish cb-alish commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Automated update of OpenAPI specification files from cloudfront source.

Updated OpenAPI and SDK specifications with refreshed metadata, expanded payment methods and enums, new subscription filters, meters and webhook APIs, async response schemas, path parameters, and additional resource fields. Removed the obsolete ApiKey schema and updated hosted-page documentation.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The specifications were regenerated with updated metadata, payment-method enums, filters, schemas, documentation, path parameters, webhook events, metering operations, and asynchronous response models across API v1, API v2, and SDK YAML/JSON contracts.

Changes

Specification refresh

Layer / File(s) Summary
API v1 metadata and schema updates
spec/chargebee_api_v1_spec.json, spec/chargebee_api_v1_spec.yaml
Updates version metadata, removes the ApiKey schema, and revises HostedPage documentation.
API v2 contract and documentation updates
spec/chargebee_api_v2_pc_v1_spec.json, spec/chargebee_api_v2_pc_v1_spec.yaml
Adds the decommissioned filter, expands payment and tax enums, adds invoice and proration fields, introduces shared schemas, updates metadata shapes, adds path parameters, and refreshes endpoint documentation.
SDK shared filters and model updates
spec/chargebee_sdk_spec.yaml
Updates payment-method lists and patterns, adds subscription filtering, expands invoice and nested models, and changes enum and sort-order metadata.
SDK events and metered API operations
spec/chargebee_sdk_spec.yaml
Adds the payment_source_business_entity_changed event and webhook, metering endpoints, asynchronous response schemas, path parameters, and related enum values.

Estimated code review effort: 4 (Complex) | ~60 minutes

🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ast-grep (0.44.1)
spec/chargebee_api_v2_pc_v1_spec.json

ast-grep skipped this file: it is too large to scan (9732885 bytes)

spec/chargebee_api_v2_pc_v1_spec.yaml

ast-grep skipped this file: it is too large to scan (9053414 bytes)

spec/chargebee_api_v2_pc_v2_spec.json

ast-grep skipped this file: it is too large to scan (14378698 bytes)

  • 3 others
🔧 Checkov (3.3.8)
spec/chargebee_api_v2_pc_v1_spec.json

Checkov skipped this file: it is too large to scan (9732885 bytes)

spec/chargebee_api_v2_pc_v1_spec.yaml

Checkov skipped this file: it is too large to scan (9053414 bytes)

spec/chargebee_api_v2_pc_v2_spec.json

Checkov skipped this file: it is too large to scan (14378698 bytes)

  • 3 others

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@spec/chargebee_sdk_spec.yaml`:
- Around line 191096-191100: Remove property_data_type from the required lists
for the top-level ColumnDefinition, Meter.column_definitions.items, and
MeteredFeature.column_definitions.items in spec/chargebee_sdk_spec.yaml at lines
191096-191100, 210085-210089, and 210313-210317; leave the defined column_name
and data_type properties unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 7ac8bdf9-8864-4c62-b7c6-8d3e759857f9

📥 Commits

Reviewing files that changed from the base of the PR and between c5273ca and fbd261f.

📒 Files selected for processing (8)
  • spec/chargebee_api_v1_spec.json
  • spec/chargebee_api_v1_spec.yaml
  • spec/chargebee_api_v2_pc_v1_spec.json
  • spec/chargebee_api_v2_pc_v1_spec.yaml
  • spec/chargebee_api_v2_pc_v2_spec.json
  • spec/chargebee_api_v2_pc_v2_spec.yaml
  • spec/chargebee_sdk_spec.json
  • spec/chargebee_sdk_spec.yaml

Comment thread spec/chargebee_sdk_spec.yaml
@cb-alish
cb-alish merged commit b00c38e into main Jul 23, 2026
1 check passed
@cb-alish
cb-alish deleted the update-specs-2026-07-21 branch July 23, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants