SDammann.WebApi.Versioning icon indicating copy to clipboard operation
SDammann.WebApi.Versioning copied to clipboard

Fix of issue with ApiVersions that do not contain a Build or Revision number

Open FrankHoogmans opened this issue 10 years ago • 1 comments

The DefaultAttributeControllerVersionDetector throws an ArgumentOutOfRange exception on line 18 when the ApiVersionAttribute is used with only a Major / Minor, or used with Major / Minor / Build. The reason is the use of the default -1 value for BuildNumber / RevisionNumber in the System.Version constructor.

FrankHoogmans avatar Sep 29 '15 06:09 FrankHoogmans

I've seen your contribution - let me take some time to look at it.

Sebazzz avatar Oct 01 '15 16:10 Sebazzz