Redocly / swagger-repo

CLI tool to help you manage your OpenAPI(fka Swagger) repo.
MIT License
18 stars 29 forks source link

Possibility of specifying the order in which paths are loaded #5

Closed leonelgalan closed 7 years ago

leonelgalan commented 7 years ago

I just started using Rebilly/generator-openapi-repo (you guys have done a great job!) and noticed that paths are loaded in alphabetical order. Is there any way we could customize that order?

RomanHotsiy commented 7 years ago

Hey @leonelgalan, thanks for your kind words ❤️

Unfortunately, there is no mechanism for this yet. Maybe ordering will become the part of ReDoc itself. Check out this PR: https://github.com/Rebilly/ReDoc/pull/328

But I'm eager to hear maybe some alternative ideas of how to achieve this!

leonelgalan commented 7 years ago

That PR looks promising, I'll keep and eye on it.