diff --git a/cmd/freezer-refrigerant/api/docs.go b/cmd/freezer-refrigerant/api/docs.go index dd5ee4f..e0ce584 100644 --- a/cmd/freezer-refrigerant/api/docs.go +++ b/cmd/freezer-refrigerant/api/docs.go @@ -460,6 +460,10 @@ const docTemplate = `{ "miningSession": { "$ref": "#/definitions/tokenomics.MiningSession" }, + "miningStarted": { + "type": "boolean", + "example": true + }, "miningStreak": { "type": "integer", "example": 2 diff --git a/cmd/freezer-refrigerant/api/swagger.json b/cmd/freezer-refrigerant/api/swagger.json index e1e6e11..975dde4 100644 --- a/cmd/freezer-refrigerant/api/swagger.json +++ b/cmd/freezer-refrigerant/api/swagger.json @@ -454,6 +454,10 @@ "miningSession": { "$ref": "#/definitions/tokenomics.MiningSession" }, + "miningStarted": { + "type": "boolean", + "example": true + }, "miningStreak": { "type": "integer", "example": 2 diff --git a/cmd/freezer-refrigerant/api/swagger.yaml b/cmd/freezer-refrigerant/api/swagger.yaml index 2ff8ee0..ec4acad 100644 --- a/cmd/freezer-refrigerant/api/swagger.yaml +++ b/cmd/freezer-refrigerant/api/swagger.yaml @@ -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