Bumped package version to 1.2.0. Added missing route method conversions to code generator.
This commit is contained in:
parent
887cd687e0
commit
5c2b2ea4ef
@ -530,6 +530,24 @@ namespace MontoyaTech.Rest.Net
|
||||
case "get":
|
||||
writer.Write("HttpMethod.Get");
|
||||
break;
|
||||
case "delete":
|
||||
writer.Write("HttpMethod.Delete");
|
||||
break;
|
||||
case "put":
|
||||
writer.Write("HttpMethod.Put");
|
||||
break;
|
||||
case "options":
|
||||
writer.Write("HttpMethod.Options");
|
||||
break;
|
||||
case "patch":
|
||||
writer.Write("HttpMethod.Patch");
|
||||
break;
|
||||
case "head":
|
||||
writer.Write("HttpMethod.Head");
|
||||
break;
|
||||
case "trace":
|
||||
writer.Write("HttpMethod.Trace");
|
||||
break;
|
||||
default:
|
||||
throw new NotSupportedException("Unsupport route method:" + route.Method);
|
||||
}
|
||||
|
@ -17,7 +17,7 @@
|
||||
<AssemblyName>MontoyaTech.Rest.Net</AssemblyName>
|
||||
<RootNamespace>MontoyaTech.Rest.Net</RootNamespace>
|
||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
<Version>1.1.9</Version>
|
||||
<Version>1.2.0</Version>
|
||||
<PackageReleaseNotes></PackageReleaseNotes>
|
||||
<PackageIcon>Logo_Symbol_Black_Outline.png</PackageIcon>
|
||||
</PropertyGroup>
|
||||
|
Loading…
x
Reference in New Issue
Block a user