diff --git a/src/.vuepress/plugins/openApi.ts b/src/.vuepress/plugins/openApi.ts
index 35a96e86..129a5fd8 100644
--- a/src/.vuepress/plugins/openApi.ts
+++ b/src/.vuepress/plugins/openApi.ts
@@ -56,7 +56,7 @@ function renderPaths(document: OpenApiType.Document): string {
chapters += `
### ${path}
\n
-
+
`;
}
}
diff --git a/src/.vuepress/theme/client/components/global/OpenApi.vue b/src/.vuepress/theme/client/components/global/OpenApi.vue
index 0eb6c491..2ca27d0b 100644
--- a/src/.vuepress/theme/client/components/global/OpenApi.vue
+++ b/src/.vuepress/theme/client/components/global/OpenApi.vue
@@ -8,6 +8,7 @@
diff --git a/src/.vuepress/theme/client/components/global/OpenApiOperation.vue b/src/.vuepress/theme/client/components/global/OpenApiOperation.vue
index 75dbf8e6..fc70a3c9 100644
--- a/src/.vuepress/theme/client/components/global/OpenApiOperation.vue
+++ b/src/.vuepress/theme/client/components/global/OpenApiOperation.vue
@@ -8,9 +8,13 @@
>
{{ endpoint }}
-
+
+
Authentication:
- {{ authentication }}
+
@@ -18,11 +22,13 @@
diff --git a/src/.vuepress/theme/client/components/global/OpenApiSecurityRequirements.vue b/src/.vuepress/theme/client/components/global/OpenApiSecurityRequirements.vue
index a209c6c7..b23bd6b6 100644
--- a/src/.vuepress/theme/client/components/global/OpenApiSecurityRequirements.vue
+++ b/src/.vuepress/theme/client/components/global/OpenApiSecurityRequirements.vue
@@ -4,7 +4,7 @@
+ :scheme="securityItem" />
@@ -20,13 +20,13 @@ const props = defineProps<{
}>();
const resolvedSchemes = computed(() => {
- const resolved: OpenApiType.SecurityRequirementObject[] = [];
+ const resolved: OpenApiType.SecuritySchemeObject[] = [];
for (const requirement of props.security) {
const scheme = resolveRequirementToScheme(requirement);
if (scheme) {
- resolved.push(requirement);
+ resolved.push(scheme);
}
}
diff --git a/src/.vuepress/theme/client/components/global/OpenApiSecurityScheme.vue b/src/.vuepress/theme/client/components/global/OpenApiSecurityScheme.vue
index ec3176d7..97658281 100644
--- a/src/.vuepress/theme/client/components/global/OpenApiSecurityScheme.vue
+++ b/src/.vuepress/theme/client/components/global/OpenApiSecurityScheme.vue
@@ -2,15 +2,24 @@
API Key
{{ scheme.in }}: {{ scheme.name }}
+
HTTP
{{ scheme.scheme }}: {{ scheme.bearerFormat }}
+