API方法排序:Swagger版本3.0.2

Uza*_*ade 5 swagger swagger-2.0

我正在使用swagger版本3.0.2,我也遵循了这个答案,但是对方法顺序没有影响。

window.onload = function() {

  const ui = SwaggerUIBundle({
  .....
  apisSorter: "alpha",
  layout: "StandaloneLayout"
})
Run Code Online (Sandbox Code Playgroud)

谁能说出改变API方法顺序的最佳方法。