()
| 11 | |
| 12 | @app.get("/api/data") |
| 13 | def get_sample_data(): |
| 14 | return { |
| 15 | "data": [ |
| 16 | {"id": 1, "name": "Sample Item 1", "value": 100}, |
| 17 | {"id": 2, "name": "Sample Item 2", "value": 200}, |
| 18 | {"id": 3, "name": "Sample Item 3", "value": 300} |
| 19 | ], |
| 20 | "total": 3, |
| 21 | "timestamp": "2024-01-01T00:00:00Z" |
| 22 | } |
| 23 | |
| 24 | |
| 25 | @app.get("/api/items/{item_id}") |
nothing calls this directly
no outgoing calls
no test coverage detected