Just add ordering

This commit is contained in:
Owen
2026-07-10 16:01:22 -04:00
parent 0149984e85
commit 1af486ac48
2 changed files with 16 additions and 10 deletions
+13 -8
View File
@@ -4,24 +4,29 @@ export const registry = new OpenAPIRegistry();
export enum OpenAPITags {
Site = "Site",
Org = "Organization",
PublicResource = "Public Resource",
PublicResourceLegacy = "Public Resource (Legacy)",
Target = "Resource Target",
PrivateResource = "Private Resource",
PrivateResourceLegacy = "Private Resource (Legacy)",
Client = "Client",
Org = "Organization",
Domain = "Domain",
Policy = "Policy",
Role = "Role",
User = "User",
Invitation = "User Invitation",
Target = "Resource Target",
Rule = "Rule",
Invitation = "User Invitation",
AccessToken = "Access Token",
GlobalIdp = "Identity Provider (Global)",
OrgIdp = "Identity Provider (Organization Only)",
Client = "Client",
ApiKey = "API Key",
Domain = "Domain",
Blueprint = "Blueprint",
Ssh = "SSH",
Logs = "Logs"
Logs = "Logs",
PublicResourceLegacy = "Public Resource (Legacy)",
PrivateResourceLegacy = "Private Resource (Legacy)"
}
// Order here controls the order tags are displayed in Swagger UI
export const openApiTags = Object.values(OpenAPITags).map((name) => ({
name
}));