File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/libs/CSharpToJsonSchema.Generators Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,8 @@ internal static partial class Sources
1111 /// </summary>
1212 /// <param name="parameter"></param>
1313 /// <param name="depth"></param>
14- /// <param name="schema"></param>
1514 /// <returns></returns>
16- public static string GenerateOpenApiSchema ( OpenApiSchema parameter , int depth = 0 , bool schema = true )
15+ public static string GenerateOpenApiSchema ( OpenApiSchema parameter , int depth = 0 )
1716 {
1817 var indent = new string ( ' ' , depth * 4 ) ;
1918 const string name = "global::CSharpToJsonSchema.OpenApiSchema" ;
@@ -81,7 +80,7 @@ public static partial class {extensionsClassName}
8180 Name = ""{ method . Name } "",
8281 Description = ""{ method . Description } "",
8382 Strict = { ( method . IsStrict ? "true" : "false" ) } ,
84- Parameters = { GenerateOpenApiSchema ( method . Parameters , schema : false ) } ,
83+ Parameters = { GenerateOpenApiSchema ( method . Parameters ) } ,
8584 }},
8685" ) . Inject ( ) }
8786 }};
You can’t perform that action at this time.
0 commit comments