Closed jenslauterbach closed 2 years ago
Totals | |
---|---|
Change from base Build 1674060656: | 0.001% |
Covered Lines: | 3838 |
Relevant Lines: | 3955 |
The build issue in https://github.com/devdaydresden/devday_website/runs/4753483954?check_suite_focus=true#step:5:6136 might be related to a setuptools or pip issue. Needs further investigation.
This PR does add three new URLs, one of which does expose a Swagger UI for our API.
api/schema/swagger-ui/
To enable this feature I used the DRF Spectacular library (as suggested by the DRF documentation).
Important: At the moment the documentation requires authentication. I thought this would be a sane default considering, that the API requires authentication as well. Of course, this could be changed.