purplebricks / PB.ITOps.AspNetCore.Versioning

This is a convention for versioning web APIs. It extends Microsoft ASP.Net API Versioning by introducing a new convention and attributes.
Apache License 2.0
14 stars 5 forks source link

supporting standard api version format rsther than numbers #6

Open AmirSasson opened 2 years ago

AmirSasson commented 2 years ago

rather integers that represent the api version, most api versions are represented as "yyyy-mm-dd-preview" or yyyy-mm-dd. these formats can be parsed to apiVersion which implements icomparable. in addition why is there a limitation of only a single api version which is supported/active and all other are deprecated?

lmaysapphire commented 2 weeks ago

In order to work it tags controllers/actions with every version between introduced and removed. There is no way to do this with dates.