API 参考概览¶
本节提供 Faster APP 核心 API 的完整参考文档。
模块概览¶
| 模块 | 说明 | 主要内容 |
|---|---|---|
faster_app.app |
应用核心 | create_app(), get_app() |
faster_app.models.base |
模型基类 | UUIDModel, DateTimeModel, EnumModel, ScopeModel |
faster_app.routes |
路由工具 | 路由装饰器、响应工具 |
faster_app.utils |
工具函数 | CRUD、响应、装饰器 |
faster_app.commands.base |
命令基类 | BaseCommand |
faster_app.settings |
配置管理 | BaseSettings, get_settings() |
快速导航¶
app
¶
Faster APP 应用实例模块
create_app()
¶
创建 FastAPI 应用实例
源代码位于: faster_app/app.py
base
¶
utils
¶
Utility functions and decorators
更多详细文档请查看各子页面...