Override Swagger sorting

浪子不回头ぞ 提交于 2019-12-24 01:27:31

问题


I want to organize my swagger api in reverse alphabetical order but it defaults to alphabetical. Is there a simple way to do this? Specifically using Swashbuckle.Core 5.2.1


回答1:


You can create a sorter for the UI for both the operations (operationsSorter) and tags (apisSorter).



来源:https://stackoverflow.com/questions/33746676/override-swagger-sorting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!