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

Remove specific 404 messages in wrench-openapi.json #309

Open
henricasanova opened this issue Mar 23, 2024 · 0 comments
Open

Remove specific 404 messages in wrench-openapi.json #309

henricasanova opened this issue Mar 23, 2024 · 0 comments

Comments

@henricasanova
Copy link
Contributor

henricasanova commented Mar 23, 2024

When we first designed the wrench-openapi.json for the WRENCH API, we entered specific error messages for the 404 response (like "workflow not found", "task not found"). But in fact, these errors are returned as part of a valid JSON response. We should just set all human-readable error messages for 404 to something like: "REST API endpoint not found (404)", or something like this. ALSO, some entries don[t even have a "404" spec. Perhaps it's safe to remove them all? After all, 404/405 have known meaning.... what's the point is saying "route not found" or "invalid"?

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

No branches or pull requests

1 participant