-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Authentication and Authorization logic. #127
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Really appreciate your contribution.
Another thing I want to talk about is, for Authentication Error, should we return ValidationError(422) or AuthenticationError(401 or 403)?
We can use |
Please run |
Hello, thank you for all the work :), Spectree is great! |
@Qparrot I haven't added docs for this part. But you can refer to the test file spectree/tests/test_plugin_flask.py Line 38 in f5e56e5
|
The new PR #151 added the related document in the README. @Qparrot |
No description provided.