diff --git a/bk-plugin-framework/bk_plugin_framework/services/bpf_service/management/commands/support-files/resources.yaml b/bk-plugin-framework/bk_plugin_framework/services/bpf_service/management/commands/support-files/resources.yaml index d4d5fc4..5b81965 100644 --- a/bk-plugin-framework/bk_plugin_framework/services/bpf_service/management/commands/support-files/resources.yaml +++ b/bk-plugin-framework/bk_plugin_framework/services/bpf_service/management/commands/support-files/resources.yaml @@ -3,9 +3,7 @@ info: title: 'BK Plugin API' version: '1.0.0' description: '蓝鲸插件服务 API' - paths: - /callback/{token}/: post: operationId: callback @@ -63,8 +61,7 @@ paths: resourcePermissionRequired: true disabledStages: [] descriptionEn: plugin callback - - /invoke/{version}: + /invoke/{version}/: post: operationId: invoke summary: 调用指定版本插件 @@ -139,11 +136,7 @@ paths: type: HTTP name: default method: any - {% if settings.BK_PLUGIN_APIGW_BACKEND_SUB_PATH %} - path: /{env.api_sub_path}bk_plugin/plugin_api/ - {% else %} path: /bk_plugin/plugin_api/ - {% endif %} matchSubpath: true timeout: 0 upstreams: {} @@ -187,7 +180,7 @@ paths: disabledStages: [] descriptionEn: Plugin open API entry - /plugin_api_dispatch/: + /plugin_api_dispatch: post: operationId: plugin_api_dispatch summary: 插件API分发 diff --git a/bk-plugin-framework/pyproject.toml b/bk-plugin-framework/pyproject.toml index 6b63200..639f434 100644 --- a/bk-plugin-framework/pyproject.toml +++ b/bk-plugin-framework/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bk-plugin-framework" -version = "2.3.4" +version = "2.3.5" description = "bk plugin python framework" authors = ["Your Name "] license = "MIT"