1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/openapi
Thomas Heartman 1799086deb
openapi: sort tags file (#4595)
This change sorts the tags in the tags file and tests that the list is
sorted alphabetically. This makes it easier to
find tags in the file. 

#4580 already introduced a test to check that we have no duplicate
tags, so this isn't as necessary anymore, but it's still nice to have.

It also removes the previous auto-sorting before exporting. This is to
ensure that entries are sorted in the source list. This might seem like
a regression, but it makes it easier to spot near-duplicate tags:

> Despite having the test that validates there are no duplicates, you
can always have Notifications and Notification API by mistake (tags that
mean the same but are different). Keeping the list alphabetically sorted
might help to prevent this before pushing the change to prod. In this
case, we will eventually find out and fix it, so this could be a good
reason to have the list sorted.
2023-09-01 10:15:12 +00:00
..
spec Feat/instance health (#4586) 2023-08-30 12:51:46 +00:00
util openapi: sort tags file (#4595) 2023-09-01 10:15:12 +00:00
index.test.ts feat: base path support for openapi (#3780) 2023-05-16 12:01:47 +02:00
index.ts feat: DORA metrics lead time to production (#4589) 2023-08-30 14:39:43 +02:00
meta-schema-rules.test.ts OpenAPI: remaining schema updates (#4354) 2023-07-28 07:25:34 +00:00
validate.test.ts refactor: add OpenAPI schema to constraints controller (#1683) 2022-06-09 10:35:39 +02:00
validate.ts openapi: update ui-config endpoints (#4280) 2023-07-19 17:18:47 +02:00