Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
NECROshizo committed Apr 7, 2024
2 parents d73a190 + 0c48f1f commit 04df5ec
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,3 @@ history_images/
#logs
logs/django*
*minio

36 changes: 18 additions & 18 deletions docs/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ info:
paths:
/api/v1/achievements/:
get:
operationId: achievements_list
operationId: api_v1_achievements_list
description: Выводит список достижений
summary: Список достижений
tags:
Expand All @@ -24,7 +24,7 @@ paths:
description: ''
/api/v1/health/:
get:
operationId: health_retrieve
operationId: api_v1_health_retrieve
description: Проверка работы АПИ
summary: Проверка работы
tags:
Expand All @@ -41,7 +41,7 @@ paths:
description: ''
/api/v1/history/:
get:
operationId: history_list
operationId: api_v1_history_list
description: Выводит историю тренировок
summary: История тренировок
tags:
Expand All @@ -58,7 +58,7 @@ paths:
$ref: '#/components/schemas/History'
description: ''
post:
operationId: history_create
operationId: api_v1_history_create
description: Сохраняет выполненную тренировку
summary: Сохранение выполненной тренировки
tags:
Expand Down Expand Up @@ -88,9 +88,9 @@ paths:
description: ''
/api/v1/me/:
get:
operationId: me_retrieve
operationId: api_v1_me_retrieve
tags:
- me
- api
security:
- jwtAuth: []
responses:
Expand All @@ -101,9 +101,9 @@ paths:
$ref: '#/components/schemas/Me'
description: ''
patch:
operationId: me_partial_update
operationId: api_v1_me_partial_update
tags:
- me
- api
requestBody:
content:
application/json:
Expand All @@ -125,19 +125,19 @@ paths:
$ref: '#/components/schemas/Me'
description: ''
delete:
operationId: me_destroy
operationId: api_v1_me_destroy
tags:
- me
- api
security:
- jwtAuth: []
responses:
'204':
description: No response body
/api/v1/resend_code/:
post:
operationId: resend_code_create
operationId: api_v1_resend_code_create
tags:
- resend_code
- api
security:
- jwtAuth: []
- {}
Expand All @@ -146,9 +146,9 @@ paths:
description: No response body
/api/v1/token/refresh/:
post:
operationId: token_refresh_create
operationId: api_v1_token_refresh_create
tags:
- token
- api
requestBody:
content:
application/json:
Expand All @@ -173,7 +173,7 @@ paths:
description: ''
/api/v1/training/:
get:
operationId: training_list
operationId: api_v1_training_list
description: Выводит список тренировок
summary: Список тренировок
tags:
Expand All @@ -191,7 +191,7 @@ paths:
description: ''
/api/v1/update/:
post:
operationId: update_create
operationId: api_v1_update_create
description: Обновляет заморозки у пользователя и сохраняет часовой пояс
summary: Обновляет заморозки у пользователя и сохраняет часовой пояс
tags:
Expand All @@ -207,9 +207,9 @@ paths:
description: ''
/api/v1/user/:
post:
operationId: user_create
operationId: api_v1_user_create
tags:
- user
- api
requestBody:
content:
application/json:
Expand Down
2 changes: 1 addition & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from rest_framework.test import APIClient
from rest_framework_simplejwt.tokens import RefreshToken

from running.models import Achievement, UserAchievement
from running.models import Achievement, UserAchievement # noqa

User = get_user_model()

Expand Down

0 comments on commit 04df5ec

Please sign in to comment.