From 5e878fef3179ace2fca5eb809a5d95144d98f66a Mon Sep 17 00:00:00 2001 From: jacekv Date: Mon, 18 Nov 2024 13:10:47 +0100 Subject: [PATCH] PAN-2338: Adding tags for markdown --- pantos/servicenode/restapi.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pantos/servicenode/restapi.py b/pantos/servicenode/restapi.py index f0bf7e0..c0917c4 100644 --- a/pantos/servicenode/restapi.py +++ b/pantos/servicenode/restapi.py @@ -218,6 +218,8 @@ def post(self) -> flask.Response: """ Endpoint for submitting a token transfer request. --- + tags: + - Transfer requestBody: description: Transfer request required: true @@ -287,6 +289,8 @@ def get(self, task_id: str) -> flask.Response: """ Endpoint that returns the status of a transfer. --- + tags: + - Transfer Status parameters: - in: path name: task_id @@ -306,10 +310,10 @@ def get(self, task_id: str) -> flask.Response: task_id: type: string source_blockchain_id: - $ref: "#/components/schemas/ \ + $ref: "#/components/schemas/\ _Bids/properties/source_blockchain" destination_blockchain_id: - $ref: "#/components/schemas/ \ + $ref: "#/components/schemas/\ _Bids/properties/destination_blockchain" sender_address: type: string @@ -388,6 +392,8 @@ def get(self) -> flask.Response: Endpoint that returns a list of bids for a given source and \ destination blockchain. --- + tags: + - Bids parameters: - in: query name: source_blockchain