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

PUT API response is ambiguous and does not send a ValidationError as expected #117

Open
Tracked by #70
aleene opened this issue Nov 6, 2022 · 0 comments
Open
Tracked by #70
Labels
API 🐛 bug Something isn't working P4

Comments

@aleene
Copy link

aleene commented Nov 6, 2022

What

The Swagger documentation for the Put API, specifies a ValidationError. However I receive another json.

Steps to reproduce the behaviour:

use the put API to update a tag, but forget to change the version number.

Expected behaviour

I expect to receive a Validation Error json and not {"detail":"next version must be equal to 2, was 1"}.

Part of

@aleene aleene added the 🐛 bug Something isn't working label Nov 6, 2022
@teolemon teolemon changed the title Put API response PUT API response is ambiguous and does not send a ValidationError as expected Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API 🐛 bug Something isn't working P4
Projects
Status: No status
Development

No branches or pull requests

2 participants