feat: base: upgrade swagger

This commit is contained in:
fallen-angle
2022-02-15 17:41:07 +08:00
parent be5def58fd
commit 4f3b16ab9d
6 changed files with 75 additions and 70 deletions

View File

@@ -115,6 +115,8 @@ info:
paths:
/statistics/china:
get:
produces:
- application/json
responses:
"200":
description: OK
@@ -140,6 +142,8 @@ paths:
in: path
name: sort
type: string
produces:
- application/json
responses:
"200":
description: OK
@@ -157,6 +161,8 @@ paths:
- Statistics
/statistics/country:
get:
produces:
- application/json
responses:
"200":
description: OK
@@ -174,6 +180,8 @@ paths:
- Statistics
/statistics/country/child:
get:
produces:
- application/json
responses:
"200":
description: OK
@@ -189,7 +197,7 @@ paths:
summary: country statistics
tags:
- Statistics
/statistics/provience/{sort}:
/statistics/province/{sort}:
get:
parameters:
- description: data sorted by
@@ -201,6 +209,8 @@ paths:
in: path
name: sort
type: string
produces:
- application/json
responses:
"200":
description: OK
@@ -213,7 +223,7 @@ paths:
$ref: '#/definitions/models.AreaInfo'
type: array
type: object
summary: provience statistics
summary: province statistics
tags:
- Statistics
swagger: "2.0"