Permalink
Browse files

Fix code artifact name, closes #894

  • Loading branch information...
RSuter committed Feb 5, 2019
1 parent 7c7b5b2 commit 8778df1e24a1104c223ea2844f4b259416684b61
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/NJsonSchema.CodeGeneration.CSharp/CSharpGenerator.cs
@@ -58,7 +58,7 @@ public override CodeArtifactCollection GenerateTypes()
if (Settings.ExcludedTypeNames?.Contains("JsonInheritanceAttribute") != true)
{
var template = Settings.TemplateFactory.CreateTemplate("CSharp", "JsonInheritanceAttribute", new TemplateModelBase());
results.Add(new CodeArtifact("JsonInheritanceConverter", CodeArtifactType.Class, CodeArtifactLanguage.CSharp, template));
results.Add(new CodeArtifact("JsonInheritanceAttribute", CodeArtifactType.Class, CodeArtifactLanguage.CSharp, template));
}

if (Settings.ExcludedTypeNames?.Contains("JsonInheritanceConverter") != true)

0 comments on commit 8778df1

Please sign in to comment.