Skip to content
Snippets Groups Projects
Commit ce7b12f0 authored by Jonas Leder's avatar Jonas Leder
Browse files

add missing @ in front of OA

parent 302d3f35
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ string ParseJsonArray(JArray json, int indent = 1)
}
}
string apiDocs = "OA\\Items(\n" + childDoc + "),";
string apiDocs = "@OA\\Items(\n" + childDoc + "),";
return IndentString(apiDocs, indent);
}
......@@ -87,10 +87,10 @@ string ParseJson(string json, int indent = 0)
if (Regex.IsMatch(json, @"^\s\["))
{
JArray jsonArr = JArray.Parse(json);
return "OA\\JsonContent(\n type=\"array\",\n" + ParseJsonArray(jsonArr) + "),";
return "@OA\\JsonContent(\n type=\"array\",\n" + ParseJsonArray(jsonArr) + "),";
}
JObject jsonObj = JObject.Parse(json);
return "OA\\JsonContent(\n type=\"object\",\n" + ParseJsonObject(jsonObj) + "),";
return "@OA\\JsonContent(\n type=\"object\",\n" + ParseJsonObject(jsonObj) + "),";
}
string IndentString(string stringToIndent, int indent)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment