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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ func (p *pluginServiceImpl) UpdateDraftPluginWithCode(ctx context.Context, req *
}
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
}