diff --git a/app/api/schemas/authorization.py b/app/api/schemas/authorization.py new file mode 100644 index 0000000..785dd2b --- /dev/null +++ b/app/api/schemas/authorization.py @@ -0,0 +1,6 @@ +from marshmallow import Schema, fields + + +class AuthorizeRequestSchema(Schema): + username = fields.Str(required=True) + password = fields.Str(required=True) diff --git a/app/api/services/authorization.py b/app/api/services/authorization.py new file mode 100644 index 0000000..e69de29 diff --git a/app/swagger/digifi_swagger.json b/app/swagger/digifi_swagger.json index c573cfb..5ed7133 100644 --- a/app/swagger/digifi_swagger.json +++ b/app/swagger/digifi_swagger.json @@ -80,7 +80,7 @@ }, { "name": "Authorize", - "description": "This new feature will be used for authorizing customers.", + "description": "This feature will be used for authorizing customers.", "externalDocs": { "description": "Find out more", "url": "https://www.simbrellang.net"