Skip to content

Commit 5e011ec

Browse files
committed
fix basepath for json examples
1 parent 3826462 commit 5e011ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

APIGenerator/APIGenerator/TypeGeneration/CodeAndSchema.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ private static string JsonSchemaSection(Type type, string classWord, string base
106106

107107
public static string TryGetExampleJson(this Type type, string basePath)
108108
{
109+
basePath = basePath.Replace("docs\\", "");
109110
basePath = Path.Combine(basePath, "APIGenerator", "APIGenerator", "JsonExamples");
110111

111112
string dir = Path.Combine(basePath, type.Assembly.GetName().Name);

0 commit comments

Comments
 (0)