From 50567665abaff1605c0db623fd8e2d2565839dd4 Mon Sep 17 00:00:00 2001 From: Liujian <824010343@qq.com> Date: Thu, 28 Nov 2024 18:19:08 +0800 Subject: [PATCH] =?UTF-8?q?openapi=E5=8F=96=E6=B6=88=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/core/service.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/core/service.go b/plugins/core/service.go index 8fd6dc63..e929e6ef 100644 --- a/plugins/core/service.go +++ b/plugins/core/service.go @@ -3,11 +3,14 @@ package core import ( "net/http" + "github.com/eolinker/go-common/ignore" + "github.com/APIParkLab/APIPark/resources/access" "github.com/eolinker/go-common/pm3" ) func (p *plugin) ServiceApis() []pm3.Api { + ignore.IgnorePath("login", http.MethodGet, "/api/v1/service/swagger/:id") return []pm3.Api{ // 项目 pm3.CreateApiWidthDoc(http.MethodGet, "/api/v1/service/info", []string{"context", "query:service"}, []string{"service"}, p.serviceController.Get, access.SystemWorkspaceServiceViewAll, access.TeamTeamServiceView),