-
Notifications
You must be signed in to change notification settings - Fork 1
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
Document the API #426
Document the API #426
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you might have missed /respondents/<respondent_id>/password-verification-token/ DELETE
First pass, but the openapi looks good, just some minor adjustments. Lots of potential 500 and key errors in there, which I haven't highlighted all and don't think we need to capture. The countless 404 checks for the same things (or lack of in some instance) in multiple different places is a pain, but again not for this card to sort
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eyeball review of the new OpenAPI yaml spec and looks much better than what we had originally. Do we still think there's value in keeping the API.md file?
What and why?
The Party API is poorly documented and we need to do work on it. This creates an OpenAPI document as well as an (extensive) list of known issues with the API
How to test?
Copy/paste the API document into https://editor.swagger.io/
Known issue
The editor will complain about there being a requestBody on GET /respondents/email. It's right to complain, but that is how the API is written and I've gone for accuracy rather than correctness. This is noted in the attached known-api-issues.md
Jira
RAS-1182