SDammann.WebApi.Versioning
SDammann.WebApi.Versioning copied to clipboard
Fix of issue with ApiVersions that do not contain a Build or Revision number
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.
I've seen your contribution - let me take some time to look at it.