We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ac365c commit 1e79241Copy full SHA for 1e79241
1 file changed
packages/parser/src/parses/method.ts
@@ -79,6 +79,9 @@ export function parseMethodParameters({ method, parameters, path }: PathMethod,
79
})
80
}
81
82
+ // fix: for path required parameters, move to the end
83
+ config.parameters.sort(a => (a.required ? -1 : 1))
84
+
85
return config
86
87
0 commit comments