Skip to content

fix:Fix required OpenAPI drift for Reimbursement#829

Merged
rvab merged 4 commits into
mainfrom
openapi-drift-required-reimbursement
Jul 22, 2026
Merged

fix:Fix required OpenAPI drift for Reimbursement#829
rvab merged 4 commits into
mainfrom
openapi-drift-required-reimbursement

Conversation

@rvab

@rvab rvab commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

Please add PR description here, add screenshots if needed

Clickup

app.clickup.com

@rvab
rvab requested a review from yashUkalkar July 14, 2026 05:11
@github-actions github-actions Bot added the size/S Small PR label Jul 14, 2026
Copilot AI review requested due to automatic review settings July 22, 2026 10:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the OpenAPI schema for Reimbursements to resolve drift by explicitly declaring required fields, and regenerates the bundled admin reference spec so downstream docs/mocks reflect the updated contract.

Changes:

  • Added an explicit required list to reimbursement_out to define mandatory response fields.
  • Marked id as required in reimbursement_in_minimal (used by reimbursement “mark complete/paid” operations).
  • Regenerated reference/admin.yaml to include the updated component schema.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/components/schemas/reimbursement.yaml Adds required constraints for reimbursement output and minimal input schemas to match intended contract.
reference/admin.yaml Updates the bundled admin OpenAPI reference to reflect the schema changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rvab
rvab merged commit 9fe3702 into main Jul 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Small PR

Development

Successfully merging this pull request may close these issues.

4 participants