Skip to content

Commit

Permalink
fixed openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
joy12825 committed Oct 20, 2023
1 parent 8eaa9fc commit 5e7805a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ghttp/ghttp_server_openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (s *Server) initOpenApi() {
}
for _, method := range methods {
err = s.openapi.Add(goai.AddInput{
Path: item.Route,
Path: item.Action,
Method: method,
Object: item.Handler.Info.Value.Interface(),
})
Expand Down

0 comments on commit 5e7805a

Please sign in to comment.