-
Notifications
You must be signed in to change notification settings - Fork 0
Update endpoints and repo structure to support versioning #9
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
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.
Good work, left few comments.
|
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.
LGTM
https://eaflood.atlassian.net/browse/SFD2-293
Refactor
This PR refactors the endpoints to use a consistent approach with each route using the
repos/metadata
functions to interact with the database.Versioning
The API now supports versioning for future proofing the service as it evolves, currently this gives endpoints a
v1
prefix but will evolve over time.Documentation
Openapi documentation has been created but this is a WIP due to not knowing enough about the metadata. The contract and documentation will evolve over the next few PRs.
The openapi documentation is available on the
/documentation
endpoint