Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kooksee committed Oct 30, 2023
1 parent 0f67b3e commit 15c14f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opendoc/swagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (s *Swagger) ServiceOf(name string, cb func(srv *Service)) {
cb(srv)
}

func (s *Swagger) Service() *Service {
func (s *Swagger) WithService() *Service {
var srv = new(Service)
srv.prefix = s.rootPath
s.Routers = append(s.Routers, srv)
Expand Down

0 comments on commit 15c14f0

Please sign in to comment.