fix: deal with extract expr including hyphen

This commit is contained in:
xucong053
2022-04-12 11:48:46 +08:00
parent 7259d12562
commit 1964103104
2 changed files with 11 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ func (path *APIPath) ToAPI() (*API, error) {
return nil, err
}
err = convertCompatValidator(api.Validators)
convertExtract(api.Extract)
return api, err
}