From 0991c806c7d452524a4350db02877ba2a0202198 Mon Sep 17 00:00:00 2001 From: raksa Date: Wed, 15 May 2019 14:10:12 -0700 Subject: [PATCH] Fixed typo (#361) --- docs/settings.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/settings.rst b/docs/settings.rst index 2df4888..7a10b5f 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -340,7 +340,7 @@ values for Parameters. OAUTH2_REDIRECT_URL ------------------- -Used when OAuth2 authenitcation of API requests via swagger-ui is desired. If ``None`` is passed, the +Used when OAuth2 authentication of API requests via swagger-ui is desired. If ``None`` is passed, the ``oauth2RedirectUrl`` parameter will be set to ``{% static 'drf-yasg/swagger-ui-dist/oauth2-redirect.html' %}``. This is the default `https://github.com/swagger-api/swagger-ui/blob/master/dist/oauth2-redirect.html `_ file provided by ``swagger-ui``. @@ -351,7 +351,7 @@ file provided by ``swagger-ui``. OAUTH2_CONFIG ------------- -Used when OAuth2 authenitcation of API requests via swagger-ui is desired. Provides OAuth2 configuration parameters +Used when OAuth2 authentication of API requests via swagger-ui is desired. Provides OAuth2 configuration parameters to the ``SwaggerUIBundle#initOAuth`` method, and must be a dictionary. See `OAuth2 configuration `_.