elysiajs / elysia-swagger

A plugin for Elysia to auto-generate Swagger page
MIT License
84 stars 45 forks source link

Ordering of tags changes on every save #38

Open sorenhansendk opened 1 year ago

sorenhansendk commented 1 year ago

Hi team. Can we please enforce a ordering of the tags and endpoints?

I would be very happy if we could sort by: tag name, then, the endpoint URL (ascending)

Every time I made a change to endpoints, my Swagger documentation orders differently.

How to reproduce:

  1. Create 3-4 endpoints with different tags
  2. Change something in one of the endpoints
  3. Hit the save button and refresh documentation
  4. The order of the endpoint will change