From 9f651bb8c4ecd4ac7dc0ed153d9cdb812a9142bf Mon Sep 17 00:00:00 2001 From: jacekv Date: Thu, 14 Nov 2024 13:03:16 +0100 Subject: [PATCH] PAN-2338: Adjust line length --- pantos/servicenode/restapi.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pantos/servicenode/restapi.py b/pantos/servicenode/restapi.py index a5e761f..f0bf7e0 100644 --- a/pantos/servicenode/restapi.py +++ b/pantos/servicenode/restapi.py @@ -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: @@ -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: @@ -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 @@ -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: