refactor: TestCase/TestCaseDef/StepConfig models

This commit is contained in:
lilong.129
2024-11-09 20:15:40 +08:00
parent 2587bbee82
commit 8846e84d19
31 changed files with 621 additions and 563 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/httprunner/httprunner/v4/hrp"
)
func LoadSwaggerCase(path string) (*hrp.TestCase, error) {
func LoadSwaggerCase(path string) (*hrp.TestCaseDef, error) {
// load swagger file
caseSwagger := new(spec.Swagger)
err := hrp.LoadFileObject(path, caseSwagger)