Skip to content

Commit

Permalink
Fix code artifact name, closes #894
Browse files Browse the repository at this point in the history
  • Loading branch information
RicoSuter committed Feb 5, 2019
1 parent 7c7b5b2 commit 8778df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NJsonSchema.CodeGeneration.CSharp/CSharpGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8778df1

Please sign in to comment.