Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Swagger #24

Open
jseop-lim opened this issue May 28, 2022 · 0 comments
Open

[Docs] Swagger #24

jseop-lim opened this issue May 28, 2022 · 0 comments

Comments

@jseop-lim
Copy link
Collaborator

No description provided.

jseop-lim added a commit that referenced this issue May 28, 2022
swagger를 installed app에 추가하고 ui와 yaml 파일에 관한 url 추가

(#24)
jseop-lim added a commit that referenced this issue May 30, 2022
- serializer field에 help_text 속성 추가
- generic view의 get(), post() 메서드에 docstring 추가 및
  @swagger_auto_schema decorator 추가하여 path 및 query parameter 표시

- mypage User model social_user field에 help_text 속성 추가
- UserBookmarkView get_queryset()에서 query parameter `state`가
  blank일 때 전체 양도권 보기 기능 추가

(#24)
jseop-lim added a commit that referenced this issue May 30, 2022
- Buy date, Ticket state의 help_text는 각 serializer가 아닌 model의
  field 정의 속성으로 이동
- serializer에서 id field는 클래스 변수로 정의하는 대신, Meta의
  extra_kwargs를 추가하여 help_text 정의

(#24)
jseop-lim added a commit that referenced this issue Jun 3, 2022
state query parameter의 input type을 string으로 수정
BuyDetailSerializer의 read only field help text에 "POST요청 시 미포함"
추가

(#24)
jseop-lim added a commit that referenced this issue Jun 4, 2022
UserDetailView의 path paramter social_user를 id로 이름 변경

(#24)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant