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

9 сделать читаемую доку в сваггере в юзердате #22

Conversation

gitfresnel
Copy link
Contributor

Изменения

Сделал читаемую доку в swagger.

Детали реализации

Использовал параметр description='...'

Copy link

github-actions bot commented Dec 2, 2023

💩 Code linting failed, use black and isort to fix it.

Copy link

github-actions bot commented Dec 2, 2023

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
userdata_api
   __main__.py17170%1–26
   exceptions.py9189%8
userdata_api/models
   base.py65592%25–28, 76
userdata_api/routes
   category.py41490%36, 69–71
   exc_handlers.py14193%21
   param.py41490%35, 50, 90, 111
   source.py30197%33
userdata_api/schemas
   base.py8450%6–9
   user.py20765%18–24
userdata_api/schemas/types
   scope.py24675%29–31, 36, 39, 41
userdata_api/utils
   user.py62297%67, 71
TOTAL4745289% 

Summary

Tests Skipped Failures Errors Time
48 0 💤 0 ❌ 0 🔥 2.957s ⏱️

@Temmmmmo
Copy link
Member

Temmmmmo commented Dec 3, 2023

Проблема так и осталась нерешенной. Весь докстринг функции отображается в сваггере.
Снимок

Copy link

github-actions bot commented Dec 3, 2023

💩 Code linting failed, use black and isort to fix it.

userdata_api/routes/category.py Outdated Show resolved Hide resolved
userdata_api/routes/category.py Outdated Show resolved Hide resolved
userdata_api/routes/category.py Outdated Show resolved Hide resolved
userdata_api/routes/category.py Outdated Show resolved Hide resolved
userdata_api/routes/category.py Outdated Show resolved Hide resolved
userdata_api/routes/source.py Outdated Show resolved Hide resolved
userdata_api/routes/source.py Outdated Show resolved Hide resolved
userdata_api/routes/source.py Outdated Show resolved Hide resolved
userdata_api/routes/source.py Outdated Show resolved Hide resolved
userdata_api/routes/user.py Outdated Show resolved Hide resolved
@gitfresnel gitfresnel self-assigned this Dec 7, 2023
@Temmmmmo Temmmmmo merged commit 11a7cad into main Dec 7, 2023
2 checks passed
@Temmmmmo Temmmmmo deleted the 9-сделать-читаемую-доку-в-сваггере-в-юзердате branch December 7, 2023 19:11
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

Successfully merging this pull request may close these issues.

Сделать читаемую доку в сваггере в юзердате
2 participants