diff --git a/ninja/__init__.py b/ninja/__init__.py index 0a9a45b51..ffde5d7d3 100644 --- a/ninja/__init__.py +++ b/ninja/__init__.py @@ -1,6 +1,6 @@ """Django Ninja - Fast Django REST framework""" -__version__ = "0.22.0" +__version__ = "0.22.1" from pydantic import Field diff --git a/ninja/static/ninja/swagger-ui-init.js b/ninja/static/ninja/swagger-ui-init.js index efb69e170..7c26019f4 100644 --- a/ninja/static/ninja/swagger-ui-init.js +++ b/ninja/static/ninja/swagger-ui-init.js @@ -12,8 +12,8 @@ SwaggerUIBundle({ requestInterceptor: (req) => { if (swaggerUi.dataset.apiCsrf && swaggerUi.dataset.csrfToken) { req.headers['X-CSRFToken'] = swaggerUi.dataset.csrfToken - return req; } + return req; }, deepLinking: true }) \ No newline at end of file