- Upgrade pydantic to v2
- Remove deprecated code
- Drop support for Python 3.7
- #97 Fix response miss description. Thanks, @tekrei.
- #95 Added ability to deserialize complex form parameter objects. Thanks, @BlackGad.
- #79 Support
by_alias
in Model Config. Thanks, @candleindark. - #82 Fix parameter in url_prefix. Thanks, @riedgar-ms.
- #83 Be able to change 422 validation errors to other http response status. Thanks, @CostcoFanboy.
- #86 Responses key supports both string, int, and HTTPStatus. Thanks, @CostcoFanboy.
- #72 security_schemes(SecurityScheme) supports a json format.
- #68 feat: Add operation_id_callback. Thanks, @BoyanYK.
- #64 Explains the usage of flask openapi command more clearly. Thanks, @candleindark.
- #75 Init view_class and pass view_kwargs. Thanks, @stufisher.
- #70 Support for Specification Extensions in OpenAPI Object and Operation Object. Thanks, @simonblund.
- #73 BaseModel Config support openapi_extra.
- Merge
extra_responses
toresponses
and deprecateextra_responses
.
DeprecationWarning:
- Add DeprecationWarning to
APIKey
,HTTPBase
,OAuth2
,OpenIdConnect
,HTTPBearer
that will be deprecated in v3.0. - Add DeprecationWarning to
extra_form
,extra_body
andextra_responses
that will be deprecated in v3.0.
- #61 Fix headers with pydantic alias
- remove * in install_requires for setuptools 67+
- Support for custom UI templates (#55)
- endpoint index rename to openapi
- fix missing enum in component schemas
- Fix async
- Fix duplicate tags
- Add dependent files
- support APIView
- Add mypy
- Support for python 3.11
- Upgrade Swagger UI 4.15.5
- Upgrade Redoc UI 2.0.0
- #41 Set the
requestBody required
default value to True. Thanks, @Colin-b - Fix multi decorator for api
- #42 Fix required header is not found when
_
in header field. Thanks, @elirud
- #36 Add extra_form for operation. Thanks, @Colin-b
- #36 Add extra_body for operation. Thanks, @Colin-b
- Add external_docs for operation
- Add servers for operation
- Support to parse extra field in parameters
- #35 Fixed extra_responses can now be used to set every field in Response. Thanks, @Colin-b
- Upgrade Swagger UI 4.14.0
- Upgrade Redoc UI 2.0.0-rc.76
- Upgrade RapiDoc UI 9.3.3
- #39 Remove configuration FLASK_OPENAPI_VALIDATE_RESPONSE
- #32 Fix: parse_rule is deprecated in werkzeug>=2.2.0.
- #26 Fixed: Body throws exception when receiving str instead of dict. Thanks, @nor3th
- #23 Fixed externalDocs support. Thanks, @dvaerum
- #28 Fixed to enable
__root__
property when validation responses. Thanks, @dvaerum - #17 Support for Nested APIBlueprint enhancement. Thanks, @dvaerum
- #29 Support disable warnings. Thanks, @dvaerum
- Support for empty response body. Thanks, @dvaerum
- Support reload authorizations in Swagger UI
- Add
flask openapi
command - Add options in view functions
- Upgrade flask to v2.x
- Remove export markdown to
flask openapi
command - Configuration
VALIDATE_RESPONSE
rename toFLASK_OPENAPI_VALIDATE_RESPONSE
- fix: Trailing slash in APIBlueprint
- fix: Find globalns for the unwrapped func
- #19 fix: Trailing slash in APIBlueprint. Thanks, @ev-agelos
- add description for UnprocessableEntity
- remove printouts in
__init__.py
- #16 Fix fileStorage list is not supported. Thanks, @tekrei
- #13 drop support for flask 1.0.x. Thanks, @danmur
- #15 Fix to enable BaseModel with
__root__
property. Thanks, @tarcisiojr - #14 Custom parameters: doc_prefix, api_doc_url, swagger_url, redoc_url, rapidoc_url. Thanks, @barryrobison
- Upgrade swagger UI v4.6.2
- Upgrade Redoc v2.0.0-rc.63
- Upgrade RapiDoc v9.2.0
- add operation_id for OpenAPI Specification
- #10 Fix: header's title case. Thanks, @rrr34
- #9 Support for extra responses. Thanks, @blynn99
- #12 Support for path operation field deprecated. Thanks, @blynn99
- Add keyword parameters
summary
anddescription
- Add servers for OpenAPI
- Upgrade swagger UI v4.1.3
- Upgrade Redoc v2.0.0-rc.59
- Add rapidoc
- Renamed
securitySchemes
tosecurity_schemes
- Renamed
docExpansion
todoc_expansion
- fix: default value in a query and form model
- fix: empty form and body
- support
from __future__ import annotations
- drop python36
- add Configuration
docExpansion
- query and form add array support
- fix: path $ref
- fix: markdown enum
- Export to markdown(Experimental)
- remove
validate_resp
and addVALIDATE_RESPONSE
- OpenAPI add responses and APIBlueprint add abp_responses
- fix: validate response error when responses is empty dict
- #3 endpoint and APIBlueprint add
doc_ui
. Thanks, @DerManoMann - #4 fix: response description. Thanks, @DerManoMann
- #5 add custom parameter
oauth_config
. Thanks, @DerManoMann - #6 support validation Flask Response. Thanks, @DerManoMann
- #7 fix: response validation does not work when uses http.HTTPStatus enums as status_code. Thanks, @DerManoMann
- APIBlueprint adds abp_tags and abp_security
- fix: tags de-duplication
- fix: operation summary and description
- fix: _do_decorator
- add doc_ui args. support close swagger UI and redoc
- fix:request data is None
- json-->body
- set 422 Content-Type application/json
- raise response validate exception
- fix: TypeError: issubclass() arg 1 must be a class
- first version