Skip to content

Commit e84f188

Browse files
committed
use scalarVersion 1.17.16
1 parent 9cd1f05 commit e84f188

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/v1/adapters/jira/functions/authenticate.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ export const JIRA_AUTHENTICATION = new Elysia({ prefix: "/auth" })
134134
detail: {
135135
description: "Authenticate using a Jira Email:API-Token (basic authentication).",
136136
tags: ["jira", "authentication"],
137+
/* security: [
138+
{
139+
BearerAuth: []
140+
}
141+
] */
137142
},
138143
},
139144
);

src/v1/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export const v1 = new Elysia({ prefix: `/${V1_PATH}` })
3333
)
3434
.use(
3535
swagger({
36-
scalarVersion: "1.25.24",
36+
/* 1.25.25 */
37+
scalarVersion: "1.17.16",
3738
path: SWAGGER_PATH,
3839
exclude: [
3940
...ROOT_PATHS,
@@ -75,6 +76,9 @@ export const v1 = new Elysia({ prefix: `/${V1_PATH}` })
7576
alt: "favicon",
7677
},
7778
},
79+
/* authentication: {
80+
preferredSecurityScheme: "BearerAuth",
81+
} */
7882
},
7983
}),
80-
);
84+
);

0 commit comments

Comments
 (0)