Removed enum extends since it's not super helpful. Bumped package version to 1.5.2.

This commit is contained in:
MattMo 2023-04-14 06:44:30 -07:00
parent bbd38496da
commit 54e1fbefec
2 changed files with 1 additions and 3 deletions

View File

@ -17,7 +17,7 @@
<AssemblyName>MontoyaTech.Rest.Net</AssemblyName>
<RootNamespace>MontoyaTech.Rest.Net</RootNamespace>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<Version>1.5.1</Version>
<Version>1.5.2</Version>
<PackageReleaseNotes></PackageReleaseNotes>
<PackageIcon>Logo_Symbol_Black_Outline.png</PackageIcon>
</PropertyGroup>

View File

@ -237,8 +237,6 @@ namespace MontoyaTech.Rest.Net
if (!type.IsEnum && !(IsTypeDotNet(type.BaseType) && type.BaseType.Name == "Object"))
writer.Write(" extends ").Write(this.GetTypeFullyResolvedName(type.BaseType));
else if (type.IsEnum)
writer.Write(" extends Number");
writer.WriteLine(" {").Indent();