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

openapi: add cashout parameters (#1466)

parent 275b5772
openapi: 3.0.3 openapi: 3.0.3
info: info:
version: 0.5.1 version: 0.5.3
title: Swarm API title: Swarm API
description: "A list of the currently provided Interfaces to interact with the swarm, implementing file operations and sending messages" description: "A list of the currently provided Interfaces to interact with the swarm, implementing file operations and sending messages"
......
openapi: 3.0.3 openapi: 3.0.3
info: info:
version: 0.5.1 version: 0.5.3
title: Common Data Types title: Common Data Types
description: | description: |
\*****bzzz***** \*****bzzz*****
...@@ -153,6 +153,14 @@ components: ...@@ -153,6 +153,14 @@ components:
FileName: FileName:
type: string type: string
GasLimit:
type: integer
minimum: 0
maximum: 18446744073709551615
GasPrice:
type: integer
Hash: Hash:
type: object type: object
properties: properties:
...@@ -414,6 +422,22 @@ components: ...@@ -414,6 +422,22 @@ components:
parameters: 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: SwarmRecoveryTargetsParameter:
in: query in: query
name: targets name: targets
......
openapi: 3.0.3 openapi: 3.0.3
info: info:
version: 0.5.1 version: 0.5.3
title: Bee Debug API title: Bee Debug API
description: "A list of the currently provided debug interfaces to interact with the bee node" description: "A list of the currently provided debug interfaces to interact with the bee node"
...@@ -477,6 +477,8 @@ paths: ...@@ -477,6 +477,8 @@ paths:
$ref: "SwarmCommon.yaml#/components/schemas/SwarmAddress" $ref: "SwarmCommon.yaml#/components/schemas/SwarmAddress"
required: true required: true
description: Swarm address of peer description: Swarm address of peer
- $ref: "SwarmCommon.yaml#/components/parameters/GasPriceParameter"
- $ref: "SwarmCommon.yaml#/components/parameters/GasLimitParameter"
tags: tags:
- Chequebook - Chequebook
responses: 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