Skip to content

fix(appraisal): reject unknown request fields - #686

Open
chainsmt wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
chainsmt:feat/strict-appraisal-schema
Open

chainsmt wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
chainsmt:feat/strict-appraisal-schema

Conversation

@chainsmt

@chainsmt chainsmt commented Nov 24, 2026 •

Copy link
Copy Markdown

Summary

Misspelled payment or appraisal fields must not be silently ignored by the quote API. The appraisal request schema is now strict so unknown properties fail closed.

What changed

  • Make the appraisal request schema reject unknown fields with a stable 400.
  • Do not echo submitted values in the error response.
  • Preserve every documented request payload shape.
  • Add coverage for unknown-field rejection.

Acceptance criteria

  • Strict appraisal request schema
  • Stable 400 for unknown fields
  • Submitted values not echoed
  • Documented payloads still accepted

Test plan

  • Focused appraisal schema / unknown-field tests

Closes #673

@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@chainsmt Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

security(high/easy): reject unknown appraisal request fields

1 participant