feat: base: upgrade swagger
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user