Skip to content

Commit

Permalink
chore: change public swagger tag to external
Browse files Browse the repository at this point in the history
  • Loading branch information
tithanayut committed Feb 14, 2025
1 parent 1b323f6 commit 179ba67
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion account/server/handler/confirm_password_reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type ConfirmPasswordResetRequest struct {
// ConfirmPasswordReset godoc
//
// @Summary Confirm password reset
// @Tags public
// @Tags external
// @Router /external/v1/reset-password/{token} [post]
// @Param token path string true "Token"
// @Param request body ConfirmPasswordResetRequest true "Confirm Password Reset Request"
Expand Down
2 changes: 1 addition & 1 deletion account/server/handler/register_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type RegisterAccountRequest struct {
// RegisterAccount godoc
//
// @Summary Register new account
// @Tags public
// @Tags external
// @Router /external/v1/register [post]
// @Param request body RegisterAccountRequest true "Register account request"
// @Success 204 "Account registered, awaiting email verification"
Expand Down
2 changes: 1 addition & 1 deletion account/server/handler/request_password_reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type ResetPasswordRequest struct {
// ResetPassword godoc
//
// @Summary Request password reset
// @Tags public
// @Tags external
// @Router /external/v1/reset-password [post]
// @Param request body ResetPasswordRequest true "Reset Password request"
// @Success 204 "Password reset request processed"
Expand Down
2 changes: 1 addition & 1 deletion account/server/handler/verify_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type VerifyEmailRequest struct {
// VerifyEmail godoc
//
// @Summary Verify email
// @Tags public
// @Tags external
// @Router /external/v1/verify-email [post]
// @Param request body VerifyEmailRequest true "Verify Email Request"
// @Success 204 "Email verified"
Expand Down
2 changes: 1 addition & 1 deletion auth/server/handler/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type LoginRequest struct {
// Login godoc
//
// @Summary Login
// @Tags public
// @Tags external
// @Router /external/v1/login [post]
// @Param request body LoginRequest true "Login request"
// @Success 204
Expand Down
2 changes: 1 addition & 1 deletion auth/server/handler/login_with_google.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type LoginWithGoogleRequest struct {
// LoginWithGoogle godoc
//
// @Summary Login with Google
// @Tags public
// @Tags external
// @Router /external/v1/login/google [post]
// @Param request body LoginWithGoogleRequest true "Login with Google Account request"
// @Success 204
Expand Down
2 changes: 1 addition & 1 deletion auth/server/handler/logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
// Logout godoc
//
// @Summary Logout
// @Tags public
// @Tags external
// @Router /external/v1/logout [post]
// @Success 204
// @Failure 500 {object} response.ErrorResponse
Expand Down

0 comments on commit 179ba67

Please sign in to comment.