Search code examples
asp.net-coreswagger-ui

How do I change the order of controllers in Swagger?


OrderActionsBy appears to be available for ordering methods within controllers but what about ordering controllers?


Solution

  • Actually i don't think it's possible, there is an open issue from 2018 on the Swashbuckle repository on github that suggests a possible solution to the problem but it never got implemented. Github

    Edit: i thought that the implementation on github got embraced but it wasn't.