fix(plugin): openapi3Operation parameters not equal (#451)
This commit is contained in:
parent
16fa36c36d
commit
6f305e33aa
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue