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

OpenAPI: Clarify in REST spec that server implementations of commit endpoints must fail with 400 for unknown requirements/updates #10848

Conversation

amogh-jahagirdar
Copy link
Contributor

This change clarifies in the REST Spec that server implementations for commit endpoints should fail with 400
for any unknown requirements/updates. This ensures that server implementations should not ignore table change or requirement to ensure correctness guarantees for implementations.

The default implementation already fails for unknown updates and requirements.

…oints must fail with 400 if any unknown updates or requirements are received
@amogh-jahagirdar
Copy link
Contributor Author

I will start a mailing list thread on this as well

@amogh-jahagirdar
Copy link
Contributor Author

cc @emkornfield

@amogh-jahagirdar amogh-jahagirdar changed the title Spec: Clarify in REST spec that server implementations of commit endpoints should fail with 400 for unknown requirements/updates OpenAPI: Clarify in REST spec that server implementations of commit endpoints should fail with 400 for unknown requirements/updates Aug 2, 2024
@emkornfield
Copy link
Contributor

Small nit on title, s/should/must/

@amogh-jahagirdar amogh-jahagirdar changed the title OpenAPI: Clarify in REST spec that server implementations of commit endpoints should fail with 400 for unknown requirements/updates OpenAPI: Clarify in REST spec that server implementations of commit endpoints must fail with 400 for unknown requirements/updates Aug 2, 2024
@amogh-jahagirdar
Copy link
Contributor Author

Thanks everyone for reviewing, the vote has passed https://lists.apache.org/thread/99lo7stnprchjzosjcq9k3mns1mq8fwc
and I will go ahead and merge.

@amogh-jahagirdar amogh-jahagirdar merged commit 10fce27 into apache:main Aug 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants