Correctly document keys available in context (#1792)

Fixes #1780
This commit is contained in:
Robbe Sneyders
2023-11-06 18:36:23 +01:00
committed by GitHub
parent 26d1b84242
commit a910709606

View File

@@ -86,13 +86,11 @@ for more information on its contents.
context.context context.context
--------------- ---------------
A dict containing the following information: A dict containing the information from the security middleware:
.. code-block:: python .. code-block:: python
{ {
"api_base_path": ... # The base path of the matched API
"operation_id": ... # The operation id of matched operation
"user": ... # User information from authentication "user": ... # User information from authentication
"token_info": ... # Token information from authentication "token_info": ... # Token information from authentication
} }