We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c769d3e commit 04c1eeeCopy full SHA for 04c1eee
1 file changed
SchemaDocumentationGenerator/SchemaDocumentationGenerator/TypeGeneration/TypeToMarkdown.cs
@@ -217,7 +217,7 @@ private static string Header(this Type type)
217
218
string title = type.TitleName(true);
219
string[] split = title.Split('.');
220
- string nameSpace = string.Join('.', split.Take(split.Length - 2));
+ string nameSpace = string.Join('.', split.Take(split.Length - 1));
221
string name = split[split.Length - 1];
222
markdown += $"# <small>{nameSpace}.</small>**{name}**";
223
markdown += "\n\n";
0 commit comments