fastapimsgspec 0.1.0
fastapi-msgspec
msgspec integration for FastAPI
Installation
pip install fastapi-msgspec
Usage
from fastapi import FastAPI
from fastapi_msgspec.responses import MsgSpecJSONResponse
from fastapi_msgspec.routing import MsgSpecRoute
app = FastAPI(default_response_class=MsgSpecJSONResponse)
app.router.route_class = MsgSpecRoute
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.