Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for createItem (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/applications.py

            class Item(BaseModel):
                name: str
                description: str | None = None
    
            app = FastAPI()
    
            @app.post("/items/")
            def create_item(item: Item):
                return {"message": "Item created"}
            ```
            """
            return self.router.post(
                path,
                response_model=response_model,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
Back to Top