Improve handling of spec request url

This commit is contained in:
Cristi Vîjdea
2018-10-14 20:23:53 +03:00
parent e1aedab73f
commit 18ff51a025
3 changed files with 48 additions and 20 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ Customizing the web UI
The web UI can be customized using the settings available in :ref:`swagger-ui-settings` and :ref:`redoc-ui-settings`.
You can also extend one of the drf-yasg/swagger-ui.html_ or drf-yasg/redoc.html_ templates that are used for
You can also extend one of the `drf-yasg/swagger-ui.html`_ or `drf-yasg/redoc.html`_ templates that are used for
rendering. See the template source code (linked above) for a complete list of customizable blocks.
.. _drf-yasg/swagger-ui.html: https://github.com/axnsan12/drf-yasg/blob/master/src/drf_yasg/templates/drf-yasg/swagger-ui.html
+2 -1
View File
@@ -226,7 +226,8 @@ PERSIST_AUTH
------------
Persist swagger-ui authorization data to local storage. |br|
**WARNING:** this may be a security risk as the data is stored unencrypted
**WARNING:** This may be a security risk as the credentials are stored unencrypted and can be accessed
by all javascript code running on the same domain.
**Default**: :python:`'False` |br|
*Maps to parameter*: -