Comments (8)
I took a look at your changes, they look excellent. The only thing I could potentially see being slightly useful would be to add support for attaching a decorator to the Swagger UI OAuth redirect URL, since APIFlask wires in that route as well, but I have no personal use for it so I'm quite happy with the current proposed changeset.
It seems to me that this router only server the redirect, so I can't think of any scenarios where I need to add it,could you give me some prompt of specific scenarios?
I want support it by SWAGGER_UI_OAUTH_REDIRECT_DECORATORS
from apiflask.
Assigned to @FarmerChillax for CodeKitchen Song of Open Source Sprint 1
from apiflask.
If your program already has an authentication(such as HTTPBasicAuth),could you wanna reuse it?
from apiflask.
i wanna support this feature by #508
have any ideas for improvements?
from apiflask.
I’m currently traveling :) I’ll be home in a few days and can provide some feedback then.
Thanks for looking into this!
from apiflask.
If your program already has an authentication(such as HTTPBasicAuth),could you wanna reuse it?
The app's authentication is all custom-written, so I think the flexibility of applying an arbitrary decorator would be helpful for our use case.
i wanna support this feature by #508 have any ideas for improvements?
I took a look at your changes, they look excellent. The only thing I could potentially see being slightly useful would be to add support for attaching a decorator to the Swagger UI OAuth redirect URL, since APIFlask wires in that route as well, but I have no personal use for it so I'm quite happy with the current proposed changeset.
Thanks again!
from apiflask.
What do you think of this feature implementations? @greyli
from apiflask.
此问题已在 代码厨房 上被提及。那里可能有相关详细信息:
https://codekitchen.community/t/topic/1124/1
from apiflask.
Related Issues (20)
- Parse request data to object HOT 2
- minimum flask version differs between website info and github code HOT 4
- LOCAL_SPEC_JSON_INDENT HOT 1
- Deprecation warning with Flask 3.0 HOT 2
- Allow defining additional media types for a response
- `pagination_builder` data is not always compliant with PaginationSchema HOT 1
- Endpoints with authentication in debug mode HOT 1
- Support adding headers to the response schema HOT 2
- Support the OpenTelemetry into APIFlask
- OneOf, ContainsOnly for dataclass
- .
- Support Pydantic HOT 1
- Support `from apiflask import current_app` HOT 2
- `@app.error_processor` with specific errors HOT 2
- WebSocket support ?
- While handling marshmallow ValidationError containing other ValidationError(s), make_response fails HOT 5
- Re-use the File, Config field, and file-related validators from flask-marshmallow HOT 1
- `flask spec` command raises TypeError on decimal field validator
- Add support for a --quiet flag for the spec command HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apiflask.