diff --git a/CodeSnippetsReflection.OpenAPI/LanguageGenerators/PythonGenerator.cs b/CodeSnippetsReflection.OpenAPI/LanguageGenerators/PythonGenerator.cs index ba2212a6a..bb7588041 100644 --- a/CodeSnippetsReflection.OpenAPI/LanguageGenerators/PythonGenerator.cs +++ b/CodeSnippetsReflection.OpenAPI/LanguageGenerators/PythonGenerator.cs @@ -349,7 +349,7 @@ private static string GetFluentApiPath(IEnumerable nodes) { var dot = y.StartsWith("by_id") ? string.Empty : "_"; return $"{x.Trim('$')}{dot}{y.Trim('$')}"; - }).Replace("()ById(", "by_id(") + }).Replace("()ById(", "_by_id(") .Replace("()().", "()."); } }