#31819: Django + Django REST Framework generates API errors with swagger -------------------------------------+------------------------------------- Reporter: Perry Harrington | Owner: nobody Type: Bug | Status: closed Component: Core (Other) | Version: 3.0 Severity: Normal | Resolution: invalid Keywords: swagger regex | Triage Stage: javascrip rest openapi | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Carlton Gibson):
* status: new => closed * resolution: => invalid Comment: Hi Perry. This isn't in scope for Django: differences between language implementations of regex isn't something we're going to address. The particular issue with DRF OpenAPI schema generation should (at least in part) be addressed by [https://github.com/encode/django-rest- framework/pull/7389/ this PR, which was merged into DRF]. That will be part of DRF 3.12, which is pending, but has been delayed by (let us just call it) 2020, and will be released some time soon. In the meantime you can install the latest master using [https://pip.pypa.io/en/stable/reference/pip_install/#vcs-support pip's VCS support]. If you find there are further changes needed, please open a new issue or preferably a PR on the DRF repo: it is appropriate there that we'll do what we can to map between the required formats when generating the OpenAPI schema. Thanks. -- Ticket URL: <https://code.djangoproject.com/ticket/31819#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.533aa8533665ec964f9ca873d861debb%40djangoproject.com.