Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Validate request bodies with the optional FastAPI integration
typewall[fastapi]
from fastapi import Depends, FastAPI from typewall import w from typewall.integrations.fastapi import request_body app = FastAPI() body = request_body(w.object({"name": w.str()})) @app.post("/users", openapi_extra=body.openapi_extra) async def create_user(user=Depends(body)): return user