FastAPI 通過response_model 會做. 將輸出數據轉換爲Model 中聲明的類型; 驗證數據; 在OpenAPI 給Response 添加JSON Schema 和Example Value ...
確定! 回上一頁