Skip to content

Instantly share code, notes, and snippets.

@cosmic-byte
Last active March 26, 2018 16:41
Show Gist options
  • Save cosmic-byte/82019065fe0f409ad4872c2fc0afea27 to your computer and use it in GitHub Desktop.
Save cosmic-byte/82019065fe0f409ad4872c2fc0afea27 to your computer and use it in GitHub Desktop.
class AuthDto:
api = Namespace('auth', description='authentication related operations')
user_auth = api.model('auth_details', {
'email': fields.String(required=True, description='The email address'),
'password': fields.String(required=True, description='The user password '),
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment