diff --git a/src/.vuepress/plugins/openApi.ts b/src/.vuepress/plugins/openApi.ts index 43eae78c..35a96e86 100644 --- a/src/.vuepress/plugins/openApi.ts +++ b/src/.vuepress/plugins/openApi.ts @@ -31,7 +31,7 @@ Version ${spec.info.version} ${spec.info.description ?? ''} -## Authorization +${spec.security ? '## Authorization' : ''}