我正在使用swagger版本3.0.2,我也遵循了这个答案,但是对方法顺序没有影响。
window.onload = function() { const ui = SwaggerUIBundle({ ..... apisSorter: "alpha", layout: "StandaloneLayout" })
谁能说出改变API方法顺序的最佳方法。
swagger swagger-2.0
swagger ×1
swagger-2.0 ×1