Results 45 comments of llc

app.route是从Flask继承过来的装饰器,所以没有swagger相关功能,感兴趣可以阅读一下源码。

这个项目是基于qgis的二次开发,不能直接使用QGIS Desktop的功能,所有功能都要自己开发

@joaopedroft @raisachatterjee @iongion I'm sorry to bother you, but I hope you can do some testing and give some advice. I have already released a beta version [4.1.0rc1](https://pypi.org/project/flask-openapi3/4.1.0rc1/). Update in...

Here's an example of a project ([flask-api-demo](https://github.com/luolingchun/flask-api-demo)) for you to refer to: 1. Define auth: https://github.com/luolingchun/flask-api-demo/blob/master/src/app/config.py#L51-L60 2. Use auth: https://github.com/luolingchun/flask-api-demo/blob/master/src/app/api/user.py#L21

@omikader I have no experience with this, and there is usually only one type of validation for an endpoint.

@aodj-kara Thanks for the report, I've submitted a PR(#167) to fix it.

I have the following suggestions: 1. Upgrade Flask to 2.x, Flask-OpenAPI3 no longer supports Flask versions below 2.x. 2. Use `app = OpenAPI(__name__)` instead of `app = Flask(__name__)`. 3. Upgrade...

会的,flask-openapi3继承了Flask的所有功能,理论上完全兼容Flask以及Flask的相关插件

Welcome to submit a PR. I have a suggestion, I prefer using parameter passing instead of decorators, for example: 1. `@api.get('/book', validation_error_callback=xxx)` 2. `api = APIBlueprint('/book', __name__, validation_error_callback=xxx`

I don't quite understand what you mean, but I'm guessing [RootModel](https://docs.pydantic.dev/2.10/api/root_model/) will meet your needs.