Results 45 comments of llc

@nioncode If you want to change the endpoint order of the swagger, you can change the default behavior by setting the [`SWAGGER_CONFIG`](https://luolingchun.github.io/flask-openapi3/v4.x/Usage/Configuration/#swagger_config). ```python from flask_openapi3 import OpenAPI app = OpenAPI(__name__)...

I've found that some configurations can be used: - [sortEnumValuesAlphabetically](https://github.com/Redocly/redoc/blob/main/docs/config.md#sortenumvaluesalphabetically) - [sortOperationsAlphabetically](https://github.com/Redocly/redoc/blob/main/docs/config.md#sortoperationsalphabetically) - [sortPropsAlphabetically](https://github.com/Redocly/redoc/blob/main/docs/config.md#sortpropsalphabetically) - [sortTagsAlphabetically](https://github.com/Redocly/redoc/blob/main/docs/config.md#sorttagsalphabetically) usage: ```python app.config["REDOC_CONFIG"] = { "sortOperationsAlphabetically": True } ```

@jeronimok see https://github.com/luolingchun/flask-openapi3/issues/177#issuecomment-2351402198

@jpveooys Thank you for the report. There are some bugs, and I'm going to fix it

当参数验证失败时会抛出一个422错误([ValidationError](https://github.com/luolingchun/flask-openapi3/blob/b073e03b5e4b5008b758175e9e4a8f4f35c44b3b/flask_openapi3/request.py#L134)),这个错误没有响应说明会很奇怪。 运行这个示例([response_demo](https://github.com/luolingchun/flask-openapi3/blob/b073e03b5e4b5008b758175e9e4a8f4f35c44b3b/examples/response_demo.py)),会看到多个响应的效果。

Unfortunately, file uploads are integrated into form(multipart/form-data) to support additional fields. I also didn't find any evidence that the openapi support system restricts the display of files.

In fact, this feature was turned off(#39) due to its complexity. Since many people later needed this feature, I think it can be redesigned. I have some suggestions: 1. In...

This issue is somewhat similar to #206. but by default, Apache will strip off `/flask_api` from `/flask_api/search`, leaving only `/search` when passed to Flask. Here are two solutions to address...

Actually, I don't quite understand `Apache`. There are related configurations in `nginx` that can achieve not stripping `/flask_api`, you can check if there are similar functions in Apache's configurations. This...

The OpenAPI class defines two global variables [`self.components_schemas`](https://github.com/luolingchun/flask-openapi3/blob/v4.0.0/flask_openapi3/openapi.py#L115) and [`self.spec_json`](https://github.com/luolingchun/flask-openapi3/blob/v4.0.0/flask_openapi3/openapi.py#L149). All the model schemas are stored `self.components_schemas` and the final specification documents are stored `self.spec_json`. I think you can manually...