Flask-typed-routes

Latest version: v0.2.2

Safety actively analyzes 703211 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.1.0

- **Add**: Add OpenAPI support to generate the API documentation.
- **Breaking-Change**: `typed_route` decorator now it called with parentheses.
- **Change**: Update the CI trigger to avoid runs on opened pull-request.

0.0.8

- **Add**: Supports automatic validation for all routes and manual validation for specific routes using decorators.
- **Change**: The fields provided are now stricter. If is passed an invalid arg, a `InvalidParameterTypeError` will be raised.

0.0.7

- **Change**: Use `inspect.get_annotations()` to get function annotations instead of `func.__annotations__`. Python
documentation recommends calling this function.
- **Change**: Internal refactor to improve code.

0.0.6

- **Fix**: Fix deployment issue with the package.

0.0.5

- **Change**: Refactored codebase to improve readability and maintainability.
- **Change**: Add support for Pydantic custom types.
- **Breaking-Change**: Renamed `JsonBody` field to `Body`.

0.0.4

- **Change**: Simplified the `typed_route` decorator.
- **Breaking-Change**: Updated the application class name, now it is `FlaskTypedRoutes`.
- **Change**: Respect pydantic-field default defined, even if func-param default is empty.

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.