diff options
| author | 2021-03-09 08:48:58 +0200 | |
|---|---|---|
| committer | 2021-03-09 08:48:58 +0200 | |
| commit | 0ec4a370d476f3f8b7453c887b0b02fe83aced9c (patch) | |
| tree | e7fb0e7a71369affd79222445a35438815ad4cd3 /backend/validation.py | |
| parent | Add missing "is" to error message (diff) | |
| parent | Fixes Production URL Constant (diff) | |
Merge branch 'main' into ks123/role-assigning
Diffstat (limited to '')
| -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}`" -        ) -    )  |