Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Stub not accepting extra fields when extensible schema is set #1598

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

StarKhan6368
Copy link
Contributor

What: Fix Stub not accepting extra fields when extensible schema is set

Why: On random response generation, the stub responds with a bad request when additional fields are included in the request, even if the extensible schema is enabled.

How: Update the unexpectedKeyCheck based on Feature.flagBased

Checklist:

- When responding to a request with no stubs available HttpStub should
  still accept extra fields.
@joelrosario joelrosario merged commit 2fb4dbe into main Feb 10, 2025
2 checks passed
@joelrosario joelrosario deleted the stub-extensible-schema-fix branch February 10, 2025 09:06
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