Skip to content

Commit

Permalink
PAN-2338: Adjust line length
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekv committed Nov 14, 2024
1 parent 7a8e9fc commit 9f651bb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pantos/servicenode/restapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def post(self) -> flask.Response:
items:
type: string
example: "[bid has been rejected by service node: \
'bid not accepted']"
'bid not accepted']"
409:
description: Sender nonce from transfer request is not unique
content:
Expand Down Expand Up @@ -306,9 +306,11 @@ def get(self, task_id: str) -> flask.Response:
task_id:
type: string
source_blockchain_id:
$ref: '#/components/schemas/_Bids/properties/source_blockchain'
$ref: "#/components/schemas/ \
_Bids/properties/source_blockchain"
destination_blockchain_id:
$ref: '#/components/schemas/_Bids/properties/destination_blockchain'
$ref: "#/components/schemas/ \
_Bids/properties/destination_blockchain"
sender_address:
type: string
recipient_address:
Expand Down Expand Up @@ -384,7 +386,7 @@ class _Bids(flask_restful.Resource):
def get(self) -> flask.Response:
"""
Endpoint that returns a list of bids for a given source and \
destination blockchain.
destination blockchain.
---
parameters:
- in: query
Expand All @@ -403,7 +405,7 @@ def get(self) -> flask.Response:
responses:
200:
description: List of bids for a given source and \
destination blockchain
destination blockchain
content:
application/json:
schema:
Expand Down

0 comments on commit 9f651bb

Please sign in to comment.