fix(plugin): openapi3Operation parameters not equal (#451)

This commit is contained in:
a4duzhiming
2025-08-01 11:59:10 +08:00
committed by GitHub
parent 16fa36c36d
commit 6f305e33aa

View File

@@ -321,7 +321,7 @@ func (p *pluginServiceImpl) UpdateDraftPluginWithCode(ctx context.Context, req *
} }
func needResetDebugStatusTool(_ context.Context, nt, ot *model.Openapi3Operation) bool { func needResetDebugStatusTool(_ context.Context, nt, ot *model.Openapi3Operation) bool {
if len(ot.Parameters) != len(ot.Parameters) { if len(nt.Parameters) != len(ot.Parameters) {
return true return true
} }