Repository navigation
[Customer portal][Be] Remove unused fields and update openapi.yaml - #485
Conversation
📝 WalkthroughWalkthroughThe pull request removes the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@apps/customer-portal/backend/openapi.yaml`:
- Around line 2843-2846: Update the OpenAPI schema for
CallRequestUpdatePayload.durationInMinutes to enforce the same lower bound as
server validation by adding "minimum: 1" (keep "format: int64"); ensure the
schema field named durationInMinutes under CallRequestUpdatePayload reflects
this change and verify the server-side check in modules/entity/utils.bal that
uses stateKey == 2 still matches the contract.
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 442e8182-b69b-428c-a3fb-d5f9d1fcc604
📒 Files selected for processing (2)
apps/customer-portal/backend/modules/types/types.balapps/customer-portal/backend/openapi.yaml
💤 Files with no reviewable changes (1)
- apps/customer-portal/backend/modules/types/types.bal
Description
openapi.yamlSummary by CodeRabbit
New Features
Refactor
Documentation