refactor(api): replace apitypes module and fix swagger generation

This commit is contained in:
yusing
2025-10-26 01:05:18 +08:00
parent 964ba1eac1
commit 6f75bb7593
41 changed files with 53 additions and 138 deletions

View File

@@ -10,7 +10,7 @@ import (
type Port struct {
Listening int `json:"listening"`
Proxy int `json:"proxy"`
}
} // @name Port
var (
ErrInvalidPortSyntax = gperr.New("invalid port syntax, expect [listening_port:]target_port")