.. currentmodule:: flask-pydantic-spec
Release 2024-01-12
- Add ability to parse binary JSON encoded parts of multipart/form-data requests
Release 2023-09-28
- Drop support for Python 3.7
- Add support for Python list in Response
- Add support for custom URL converters
Release 2023-04-24
- Generate Multipart-form request schema data correctly
Release 2023-04-17
- Handle JSON requests with an empty body - thanks @TheForgottened
- Handle missing definition key when cleaning up schemas
Release 2023-03-13
- Use Pydantic functionality to generate valid OpenAPI spec and fix issue with custom __root__ models.
Release 2023-02-20
- Remove nested-alter dependency and replicate behaviour in the library to avoid potential build issues
Release 2022-11-14
- Add ability to parse nested multipart form requests with JSON strings under keys
Release 2022-11-14
- Drop support for Python 3.6
Release 2022-03-07
- Add ability to correctly parse and validate gzipped requests
Release 2022-02-1
- Fix logic when adding a model to multipart/form-data requests
Release 2022-01-11
- Relax restrictions on content-type when checking for "application/json".
Release 2022-01-06
- Relax pip dependency versions
Released 2021-07-29
- Fixed a bug where a model added to a query that contained a reference to another model would not get added to the OpenAPI document correctly.
Released 2021-04-27
- Added the ability to specify multiple query params with the same name and for these to be interpreted as a list in the pydantic model that is used
Released 2020-11-23
- Allowed the validation to handle optional parameters (i.e the body of a request is Optional)
Released 2020-11-23
- Added type hints and MyPy linting throughout the code base.
- Removed references to Spectree
- Removed any other backend other than the Flask one.
- Major refactoring and cleanup