Support for referencing types in different API files using format (#1630)

This commit is contained in:
chensy
2022-03-12 15:17:31 +08:00
committed by GitHub
parent 209ffb934b
commit c55694d957
6 changed files with 56 additions and 19 deletions

View File

@@ -86,7 +86,7 @@ func DoGenProject(apiFile, dir, style string) error {
return err
}
if err := apiformat.ApiFormatByPath(apiFile); err != nil {
if err := apiformat.ApiFormatByPath(apiFile, false); err != nil {
return err
}