Recent Releases of fastopenapi
fastopenapi - v0.7.0
Changed
- Replaced
json.dumps/json.loadswith pydanticcore `tojson/from_json` _serialize_response: model list mapping now handled by Pydantic instead of manual recursion
Fixed
- Issue with parsing repeated query parameters in URL.
Removed
- The
use_aliasesfromBaseRouterand reverted changes from 0.6.0.
- Python
Published by mr-fatalyst 10 months ago
fastopenapi - v0.6.0
Added
- The
use_aliasesparameter was added to theBaseRouterconstructor. Default isTrue. To preserve the previous behavior (without using aliases from Pydantic), setuse_aliases=False.
Changed
- The
_serialize_response methodis now an instance method (was a@staticmethod) — to supportuse_aliases. - The
_get_model_schemamethod was temporarily changed from a@classmethodto a regular method — for consistent behavior withuse_aliases.
Deprecated
use_aliasesis deprecated and will be removed in version 0.7.0.
- Python
Published by mr-fatalyst 10 months ago
fastopenapi - v0.5.0
Added
AioHttpRouterfor integration with theAioHttpframework- Class-level cache for model schemas
response_errorsfor routerserror_handlerfor standard error responses- Some python types as response_model (
int,float,bool,str)
- Python
Published by mr-fatalyst 10 months ago
fastopenapi - v0.4.0
Added
ReDoc UIand default URL (host:port/redoc)TornadoRouterfor integration with theTornadoframework
Changed
- Revised and updated all tests.
Fixed
- Status code for error response fixed: 422 -> 500
Removed
- Removed the
add_docs_routeandadd_openapi_routefromBaseRouter.
- Python
Published by mr-fatalyst 10 months ago
fastopenapi - v0.3.1
Fixed
- router imports
ModuleNotFoundError
- Python
Published by mr-fatalyst 10 months ago
fastopenapi - v0.3.0
Added
QuartRouterfor integration with theQuartframework.- Initial Documentation
Changed
- Import of routers. You can use
from fastopenapi.routers import YourRouter
Fixed
- Fixed retrieving parameters for BaseModel as arguments in GET routes.
- Python
Published by mr-fatalyst 10 months ago
fastopenapi - v0.2.1
Fixed
- Fixed an issue in
_serialize_responsewhereBaseModelwas converted to a dictionary incorrectly. - Resolved a bug causing
DataLoaderto crash when processing empty datasets. - Added tests.
- Added
CHANGELOG.md.
- Python
Published by mr-fatalyst 10 months ago
fastopenapi - v0.2.0
Added
- Implemented
resolve_endpoint_paramsinBaseRouter. - Added the
prefixparameter to theinclude_routermethod. - Implemented
status_codesupport for responses.
Changed
- Refactored all routers.
Removed
- Removed the
register_routesmethod fromStarlette.
- Python
Published by mr-fatalyst 10 months ago
fastopenapi - v0.1.0
Added
- Initial release of FastOpenAPI.
- Implemented core modules:
base,falcon,flask,sanic,starlette. - Added basic documentation and tests.
- Python
Published by mr-fatalyst 10 months ago