Skip to content

Commit

Permalink
Added missed refrigerant swagger files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-myles committed Oct 16, 2023
1 parent 49389c5 commit f9fffa9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/freezer-refrigerant/api/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,10 @@ const docTemplate = `{
"miningSession": {
"$ref": "#/definitions/tokenomics.MiningSession"
},
"miningStarted": {
"type": "boolean",
"example": true
},
"miningStreak": {
"type": "integer",
"example": 2
Expand Down
4 changes: 4 additions & 0 deletions cmd/freezer-refrigerant/api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,10 @@
"miningSession": {
"$ref": "#/definitions/tokenomics.MiningSession"
},
"miningStarted": {
"type": "boolean",
"example": true
},
"miningStreak": {
"type": "integer",
"example": 2
Expand Down
3 changes: 3 additions & 0 deletions cmd/freezer-refrigerant/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ definitions:
$ref: '#/definitions/tokenomics.MiningRates-tokenomics_MiningRateSummary-string'
miningSession:
$ref: '#/definitions/tokenomics.MiningSession'
miningStarted:
example: true
type: boolean
miningStreak:
example: 2
type: integer
Expand Down

0 comments on commit f9fffa9

Please sign in to comment.