ragraf_routes
版本: community 能力: schema 操作页面: routes
做什么
路由与入口点:注册与标记中的引用(P1-3)
解决什么问题
从代码收集应用路由,而不是凭对框架的记忆。
如何调用
ragraf_routes()
ragraf -p config/ragraf.yaml query routes
省略号处是代理传入的值;可选参数可以不传。
参数
| 名称 | 类型 | 默认值 |
|---|---|---|
| path | str | None | None |
| limit | int | 200 |
返回什么
响应由该操作组装,具体由信封描述。