p7-projekt / api-backend

Backend API
MIT License
0 stars 0 forks source link

add api versioning #29

Closed KristianS93 closed 4 weeks ago

KristianS93 commented 4 weeks ago

Description

This feature adds the api versioning to the endpoints, via the router, such that it is possible to create new routes for new versions and still keep the old functionality on a previous version.

Resolved Issue

Closes #6

Changes

Created an extension method in the API project, used to configure the api with settings, the intent is that this class will hold all configuration tightly coupled with API project itself, such as logging, cors and api versioning.