fix(api): 🐛 Add tags to all API routes that were missing one

This commit is contained in:
Jesse Wierzbinski 2025-03-28 22:12:07 +01:00
parent d75254fc71
commit cd4cfa6a70
No known key found for this signature in database
17 changed files with 22 additions and 0 deletions

View file

@ -33,6 +33,7 @@ export default (plugin: PluginType): void => {
method: "get",
path: "/oauth/sso/{issuer}/callback",
summary: "SSO callback",
tags: ["OpenID"],
description:
"After the user has authenticated to an external OpenID provider, they are redirected here to complete the OAuth flow and get a code",
middleware: [plugin.middleware] as const,

View file

@ -20,6 +20,7 @@ export default (plugin: PluginType): void => {
method: "post",
path: "/oauth/revoke",
summary: "Revoke token",
tags: ["OpenID"],
middleware: [jsonOrForm(), plugin.middleware],
request: {
body: {

View file

@ -27,6 +27,7 @@ export default (plugin: PluginType): void => {
method: "get",
path: "/oauth/sso",
summary: "Initiate SSO login flow",
tags: ["OpenID"],
request: {
query: schemas.query,
},

View file

@ -45,6 +45,7 @@ export default (plugin: PluginType): void => {
method: "post",
path: "/oauth/token",
summary: "Get token",
tags: ["OpenID"],
middleware: [jsonOrForm(), plugin.middleware],
request: {
body: {