-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from b2b-marketplace/feature/drf_spectacular
Автогенерация документации drf-spectacular
- Loading branch information
Showing
6 changed files
with
898 additions
and
632 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,3 +160,6 @@ cython_debug/ | |
.idea/ | ||
media/ | ||
.DS_Store | ||
|
||
# Vscode project settings | ||
.vscode |
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,11 +1,17 @@ | ||
# backend | ||
|
||
## Схема базы данных | ||
Обновление картинки после изменения dbml с помощью команды: | ||
``` | ||
npx --package=@softwaretechnik/dbml-renderer -- dbml-renderer -i docs/db.dbml -o docs/db.svg | ||
``` | ||
|
||
Схему БД в интерактивном режиме можно посмотреть по ссылке: | ||
|
||
[СХЕМА БД](https://dbdiagram.io/d/64bb081202bd1c4a5e7f8c0b) | ||
# backend | ||
|
||
## Схема базы данных | ||
Обновление картинки после изменения dbml с помощью команды: | ||
``` | ||
npx --package=@softwaretechnik/dbml-renderer -- dbml-renderer -i docs/db.dbml -o docs/db.svg | ||
``` | ||
|
||
Схему БД в интерактивном режиме можно посмотреть по ссылке: | ||
|
||
[СХЕМА БД](https://dbdiagram.io/d/64bb081202bd1c4a5e7f8c0b) | ||
|
||
|
||
## Документация API | ||
В проекте реализована автоматическая генерация документации. Документация доступна по адресам: | ||
1) Swagger: `/api/v1/schema/swagger-ui/` | ||
2) Redoc: `/api/v1/schema/redoc/` |
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
Oops, something went wrong.