diff options
author | 2021-03-07 04:17:54 +0300 | |
---|---|---|
committer | 2021-03-07 04:17:54 +0300 | |
commit | 9b47639ca31a14dfce59b2e8a395cea43fea91d2 (patch) | |
tree | 5a4392bdc8279b6e23d36441017562f8bc804847 /backend/validation.py | |
parent | Bump httpx from 0.16.1 to 0.17.0 (diff) | |
parent | Corrects Token Cookie Domain (diff) |
Merge branch 'main' into dependabot/pip/httpx-0.17.0
Diffstat (limited to 'backend/validation.py')
-rw-r--r-- | backend/validation.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/backend/validation.py b/backend/validation.py index e696683..8771924 100644 --- a/backend/validation.py +++ b/backend/validation.py @@ -1,6 +1,5 @@ """Utilities for providing API payload validation.""" -from typing import Optional from pydantic.fields import Field from pydantic.main import BaseModel from spectree import SpecTree @@ -18,13 +17,3 @@ class ErrorMessage(BaseModel): class OkayResponse(BaseModel): status: str = "ok" - - -class AuthorizationHeaders(BaseModel): - authorization: Optional[str] = Field( - title="Authorization", - description=( - "The Authorization JWT token received from the " - "authorize route in the format `JWT {token}`" - ) - ) |