Commit b9d391dd authored by metacertain's avatar metacertain Committed by GitHub

openapi: add cashout parameters (#1466)

parent 275b5772
openapi: 3.0.3
info:
version: 0.5.1
version: 0.5.3
title: Swarm API
description: "A list of the currently provided Interfaces to interact with the swarm, implementing file operations and sending messages"
......
openapi: 3.0.3
info:
version: 0.5.1
version: 0.5.3
title: Common Data Types
description: |
\*****bzzz*****
......@@ -153,6 +153,14 @@ components:
FileName:
type: string
GasLimit:
type: integer
minimum: 0
maximum: 18446744073709551615
GasPrice:
type: integer
Hash:
type: object
properties:
......@@ -414,6 +422,22 @@ components:
parameters:
GasPriceParameter:
in: header
name: gas-price
schema:
$ref: "SwarmCommon.yaml#/components/schemas/GasPrice"
required: false
description: "Gas price for transaction"
GasLimitParameter:
in: header
name: gas-limit
schema:
$ref: "SwarmCommon.yaml#/components/schemas/GasLimit"
required: false
description: "Gas limit for transaction"
SwarmRecoveryTargetsParameter:
in: query
name: targets
......
openapi: 3.0.3
info:
version: 0.5.1
version: 0.5.3
title: Bee Debug API
description: "A list of the currently provided debug interfaces to interact with the bee node"
......@@ -477,6 +477,8 @@ paths:
$ref: "SwarmCommon.yaml#/components/schemas/SwarmAddress"
required: true
description: Swarm address of peer
- $ref: "SwarmCommon.yaml#/components/parameters/GasPriceParameter"
- $ref: "SwarmCommon.yaml#/components/parameters/GasLimitParameter"
tags:
- Chequebook
responses:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment