【swagger 更新】

This commit is contained in:
weizhihong 2023-08-28 15:31:16 +08:00
parent 27b75bd908
commit aae094fb03
5 changed files with 2 additions and 46 deletions

View File

@ -445,7 +445,7 @@ func pageQueryTrainWheelDiameter(c *gin.Context) {
// @Tags 列车管理Api // @Tags 列车管理Api
// @Accept json // @Accept json
// @Produce json // @Produce json
// @Param pageTrainManageReqDto query dto.PageTrainManageReqDto true "列车轮径查询条件" // @Param trainManageReqDto query dto.TrainManageReqDto true "列车轮径查询条件"
// @Success 200 {object} dto.PageDto // @Success 200 {object} dto.PageDto
// @Failure 401 {object} dto.ErrorDto // @Failure 401 {object} dto.ErrorDto
// @Failure 404 {object} dto.ErrorDto // @Failure 404 {object} dto.ErrorDto

@ -1 +1 @@
Subproject commit cb2eeca59b71f1ae511773a57768ad4ddb594b4c Subproject commit e8d0e1e67593db6463c0b36870a6865e380e7a9e

View File

@ -2914,22 +2914,6 @@ const docTemplate = `{
"type": "string", "type": "string",
"name": "name", "name": "name",
"in": "query" "in": "query"
},
{
"type": "integer",
"example": 1,
"description": "页码",
"name": "current",
"in": "query",
"required": true
},
{
"type": "integer",
"example": 10,
"description": "页面行数",
"name": "size",
"in": "query",
"required": true
} }
], ],
"responses": { "responses": {

View File

@ -2907,22 +2907,6 @@
"type": "string", "type": "string",
"name": "name", "name": "name",
"in": "query" "in": "query"
},
{
"type": "integer",
"example": 1,
"description": "页码",
"name": "current",
"in": "query",
"required": true
},
{
"type": "integer",
"example": 10,
"description": "页面行数",
"name": "size",
"in": "query",
"required": true
} }
], ],
"responses": { "responses": {

View File

@ -2332,18 +2332,6 @@ paths:
- in: query - in: query
name: name name: name
type: string type: string
- description: 页码
example: 1
in: query
name: current
required: true
type: integer
- description: 页面行数
example: 10
in: query
name: size
required: true
type: integer
produces: produces:
- application/json - application/json
responses: responses: