For example in https://github.com/metosin/compojure-api-examples/blob/master/src/compojure/api/examples/handler.clj the order of routes (swaggered blocks) is math, echo and pizza. But in generated Swagger UI the order is reversed, pizza is first. Its more intuitive if the order of blocks matches in code and generated ui.