You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i meet the same problem, i find the gf cause this. So i do some change with the swagger node.js setting to solve it. drop the wrong route which method is summary.
1. What version of
Go
and system type/arch are you using?go version go1.20.4 windows/amd64
2. What version of
GoFrame
are you using?v2.5.1
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
if same route has multiple method, then swagger.json will generate incorrect structure.
lool this picture
5. What did you expect to see?
one route, the children node only has http method.
you sure compared apifox swagger.json
look this picture
6. What did you see instead?
so use swagger-typescript-api tool,generated api module use Fetch Api or Axios to make requests.
if use goframe swagger.json, has following error occurred.
beause the summary node is an illegal node
so use swagger-typescript-api, result is not expected
The text was updated successfully, but these errors were encountered: