Skip to content

Commit

Permalink
swagger update
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMaster482 committed Dec 13, 2023
1 parent d41e28d commit 2dd1161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/api/init/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func InitRouter(auth *auth.Handler,
authRouter.Methods("POST").Path("/checkAuth").HandlerFunc(auth.HealthCheck)
authRouter.Methods("POST").Path("/loginCheck").HandlerFunc(auth.CheckLoginUnique)
authRouter.Methods("POST").Path("/logout").HandlerFunc(auth.LogOut)
authRouter.Methods("PUTCH").Path("/password").HandlerFunc(auth.ChangePassword)
}

accountRouter := apiRouter.PathPrefix("/account").Subrouter()
Expand Down
2 changes: 1 addition & 1 deletion cmd/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

// @securityDefinitions AuthKey
// @in header
// @name session_id
// @name session_id

func main() {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
Expand Down

0 comments on commit 2dd1161

Please sign in to comment.