From 3aec7b6e9f10ed7ba52fb75536b31e203788d8bd Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期二, 26 三月 2024 16:43:38 +0800 Subject: [PATCH] swag 提交 --- docs/swagger.yaml | 25 +++++++++++++++++-------- 1 files changed, 17 insertions(+), 8 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index f7dd39a..2a84e04 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -808,6 +808,13 @@ status: type: integer type: object + purchaserequest.SubmitPurchase: + properties: + id: + type: integer + status: + $ref: '#/definitions/purchase.OrderStatus' + type: object purchaserequest.UpdatePurchase: properties: productList: @@ -2243,11 +2250,12 @@ consumes: - application/json parameters: - - description: 閲囪喘鍗旾D - in: path - name: id + - description: 鍙傛暟 + in: body + name: data required: true - type: integer + schema: + $ref: '#/definitions/purchaserequest.SubmitPurchase' produces: - application/json responses: @@ -2575,11 +2583,12 @@ consumes: - application/json parameters: - - description: 閲囪喘鍗旾D - in: path - name: id + - description: 鍙傛暟 + in: body + name: data required: true - type: integer + schema: + $ref: '#/definitions/purchaserequest.SubmitPurchase' produces: - application/json responses: -- Gitblit v1.8.0