-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️Refact : 사용자 로그인 api의 swagger 적용 및 리팩토링 #3
- Loading branch information
1 parent
c9a3616
commit b79543c
Showing
4 changed files
with
51 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
from django.urls import path | ||
from rest_framework_simplejwt.views import TokenObtainPairView | ||
|
||
from users.views import SignUpAPIView | ||
from users.views import SignInAPIView, SignUpAPIView | ||
|
||
urlpatterns = [ | ||
path("signup/", view=SignUpAPIView.as_view(), name="signup"), | ||
path("signin/", view=TokenObtainPairView.as_view(), name="signin"), | ||
path("signin/", view=SignInAPIView.as_view(), name="signin"), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters