Results 45 comments of llc

I don't understand what you want to express. Is there anything wrong with this?

You can refer to the documentation here: https://luolingchun.github.io/flask-openapi3/v3.x/Usage/Model_Config/

`flask-openapi3` don't provide an interface such as `flask.request.openapi.body`. But you can handle it by your self: ```python from flask import g, request @app.post("/book") def get_book(body: BookBody): g.body= body request.body= body...

Thanks @jaykv The growing number of API documentation made this library bloated, so I created a plugin repository ([flask-openapi3-plugins](https://github.com/luolingchun/flask-openapi3-plugins)) to manage these plugins individually. This PR will be partially merged...

@jaykv I have completed the initial development of the plugin function, and I have completed the development of the [Swagger and Scalar plugins](https://github.com/luolingchun/flask-openapi3-plugins). I released a beta version [4.0.0dev](https://pypi.org/project/flask-openapi3/4.0.0.dev0/) and...

422 is caused by the [ValidationError](https://docs.pydantic.dev/latest/errors/errors/) of [Pydantic](https://github.com/pydantic/pydantic), which defaults to an array. Why do you encounter situations where it is not an array? Can you paste a code example?

`flask-openapi3` generates a default [ValidationError](https://docs.pydantic.dev/latest/api/pydantic_core/#pydantic_core.ValidationError) class from [Pydantic](https://github.com/pydantic/pydantic). Of course you can change it, you can change the response body model of each API, and you can change the global...

If the body is not of type `BaseModel`, we must re-implement the data validation function ([source code](https://github.com/luolingchun/flask-openapi3/blob/master/flask_openapi3/request.py#L94)), it will be a lot of work. So I suggest another way: ```python...

Hey @jaykv, I agree with your suggestion. I think more config needs to be exposed than just `openapi_html_string`, and I think it's a good option to use the config `current_app`...

[v4.0.0rc1](https://pypi.org/project/flask-openapi3/4.0.0rc1/) has been released.