Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

simonnineteen90
Copy link
Contributor

@simonnineteen90 simonnineteen90 commented Sep 19, 2025

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

@simonnineteen90 simonnineteen90 marked this pull request as ready for review September 23, 2025 12:45
@simonnineteen90 simonnineteen90 requested a review from a team as a code owner September 23, 2025 12:45
Copy link

@AbidemiAdio AbidemiAdio left a 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.

Copy link

Copy link
Contributor

@FayToward FayToward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simonnineteen90 simonnineteen90 merged commit 004a819 into main Sep 25, 2025
2 checks passed
@simonnineteen90 simonnineteen90 deleted the add-versioning branch September 25, 2025 13:25
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

Successfully merging this pull request may close these issues.

3 participants