change: rename LoadFile to LoadFileObject

This commit is contained in:
lilong.129
2024-08-19 22:47:28 +08:00
parent 89d0d4bb96
commit 98ce2cc818
10 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
func LoadSwaggerCase(path string) (*hrp.TestCase, error) {
// load swagger file
caseSwagger := new(spec.Swagger)
err := hrp.LoadFile(path, caseSwagger)
err := hrp.LoadFileObject(path, caseSwagger)
if err != nil {
return nil, errors.Wrap(err, "load swagger file failed")
}