drf-yasg
drf-yasg copied to clipboard
Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
This commit will make sure that `Django :: 3.2` will show up in the classifiers list on PyPI: https://pypi.org/project/drf-yasg/ (The magic happens because we parse the README to get supported...
On `zsh` (a popular shell, and the default for macOS), install fails: $ pip install -U -e .[validation] zsh: no matches found: .[validation] Quote the arguments so that `bash` or...
# Feature Request disable syntax highlighting in response body swagger-ui ## Description When using Try-out in Swagger-UI queries are formatted in the response body with colors and pretty printing for...
I read the docs regarding generating custom schemas. So when I tried using a parameter type with a custom datatype (`openapi.FORMAT_UUID` for `uuid` fields), the application is not able to...
# Bug Report ## Description I am getting a `drf_yasg.errors.SwaggerGenerationError: cannot instantiate nested serializer as Parameter` when using nested serializers with multi part form parser. ## Stack trace / Error...
Hello there I have defined some interfaces when using drf-swagger, they need to specify accept parameters in order to return the content correctly. For example, I will return a file...
# Feature Request I use drf-yasg to generate my drf project swagger doc,the doc does not includes request parameter,how can i config drf-yasg to generate request parameter in the doc~...
[version] dr-yasg 1.20.0 Django 4.0.3 djangorestframework 3.12.2 python 3.9.7 I installed 'drf_yasg' like everyone else and ran the server after setup. After that, when accessing the docs website, an error...
this pull request fix case when multiple actions having the same url_path, while not using `action.mapping` ```python @action(detail=False, methods=['get'], url_path='test') def action_get(self, request): pass @action(detail=False, methods=['post'], url_path='test') def action_post(self, request):...
# Bug Report ## Description A clear and concise description of the problem... Installing drf-yasg... Error: An error occurred while installing drf-yasg! Error text: Collecting drf-yasg Using cached drf_yasg-1.21.3-py3-none-any.whl (6.4...