Skip to content

Commit

Permalink
use scalarVersion 1.17.16
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasfroeller committed Oct 2, 2024
1 parent 9cd1f05 commit e84f188
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/v1/adapters/jira/functions/authenticate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ export const JIRA_AUTHENTICATION = new Elysia({ prefix: "/auth" })
detail: {
description: "Authenticate using a Jira Email:API-Token (basic authentication).",
tags: ["jira", "authentication"],
/* security: [
{
BearerAuth: []
}
] */
},
},
);
8 changes: 6 additions & 2 deletions src/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export const v1 = new Elysia({ prefix: `/${V1_PATH}` })
)
.use(
swagger({
scalarVersion: "1.25.24",
/* 1.25.25 */
scalarVersion: "1.17.16",
path: SWAGGER_PATH,
exclude: [
...ROOT_PATHS,
Expand Down Expand Up @@ -75,6 +76,9 @@ export const v1 = new Elysia({ prefix: `/${V1_PATH}` })
alt: "favicon",
},
},
/* authentication: {
preferredSecurityScheme: "BearerAuth",
} */
},
}),
);
);

0 comments on commit e84f188

Please sign in to comment.