Skip to content

fix(api): add x-rpc-endpont extension to credit grant void and entitlement-access/query - #5254

Merged
borosr merged 1 commit into
mainfrom
fix/v3-apis-add-rpc-endpoint-extension
Oct 6, 2026
Merged

borosr merged 1 commit into
mainfrom
fix/v3-apis-add-rpc-endpoint-extension

Conversation

@borosr

@borosr borosr commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Ticket: OM-577

Overview

Fixes #(issue)

Notes for reviewer

Summary by CodeRabbit

  • API Updates
    • Updated the API specification for credit-grant voiding and entitlement-access queries.
    • Refreshed the published API specification.

RetriggerConfidence Score: 5/5

The PR appears safe to merge; no actionable issue was identified.

Summary

The PR marks credit-grant voiding and entitlement-access querying as RPC endpoints in TypeSpec and the generated v3 OpenAPI contract.

  • Regenerates the embedded Go OpenAPI specification.

Reviews (1) · Last reviewed commit: "fix(api): add x-rpc-endpont extension"

@borosr borosr self-assigned this Oct 6, 2026
@borosr borosr added the release-note/misc Miscellaneous changes label Oct 6, 2026
@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: openmeterio/openmeter/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e1d75fc6-1b3c-41fa-b345-e789d9d6896a
📥 Commits

Reviewing files that changed from the base of the PR and between 07285b5 and 49a0697.

⛔ Files ignored due to path filters (1)
  • api/v3/openapi.yaml is excluded by !**/openapi.yaml
📒 Files selected for processing (3)
  • api/spec/packages/aip/src/customers/credits/operations.tsp
  • api/spec/packages/aip/src/entitlement-access/operations.tsp
  • api/v3/api.gen.go

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

Two API operations gain shared RPC endpoint extensions. The embedded OpenAPI specification payload in the generated API file is also replaced; its semantic differences are not established by the available summary.

Changes

RPC Endpoint Metadata

Layer / File(s) Summary
Operation extensions and generated specification
api/spec/packages/aip/src/customers/credits/operations.tsp, api/spec/packages/aip/src/entitlement-access/operations.tsp, api/v3/api.gen.go
void-credit-grant and query gain the shared RPC endpoint extension. The embedded OpenAPI specification payload is replaced. Its semantic differences are not established by the available summary.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: galexihu, gergely-kurucz-konghq

Merge Risk: ⚪ Minimal · up to 49a06

The generated API specification reflects the intended endpoint metadata changes, with no additional contract changes identified. No actionable merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes adding the RPC endpoint extension to both operations. It contains a typo: “endpont” should be “endpoint.”
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@borosr
borosr marked this pull request as ready for review October 6, 2026 07:50
@borosr
borosr requested a review from a team as a code owner October 6, 2026 07:50
@borosr borosr changed the title fix(api): add x-rpc-endpont extension fix(api): add x-rpc-endpont extension to credit grant void and entitlement-access/query Oct 6, 2026
@borosr
borosr merged commit 91c742c into main Oct 6, 2026
@borosr
borosr deleted the fix/v3-apis-add-rpc-endpoint-extension branch October 6, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/misc Miscellaneous changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants