正在显示
1 个修改的文件
包含
24 行增加
和
0 行删除
document/partner01/api/http/order.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: order | ||
5 | + path: /orders | ||
6 | + endpoints: | ||
7 | + - method: createOrder | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateOrder | ||
11 | + route: | ||
12 | + put: /{orderId} | ||
13 | + - method: getOrder | ||
14 | + route: | ||
15 | + get: /{orderId} | ||
16 | + - method: removeOrder | ||
17 | + route: | ||
18 | + delete: /{orderId} | ||
19 | + - method: listOrder | ||
20 | + route: | ||
21 | + get: / | ||
22 | + params: | ||
23 | + - name: offset | ||
24 | + - name: limit |
-
请 注册 或 登录 后发表评论