From 00cfd4e5a983f3074cdd67f85de775c7af061376 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 11 Sep 2024 16:01:46 -0400 Subject: [PATCH] docs(swagger): tag localtxsubmission endpoint Signed-off-by: Chris Gianelloni --- docs/docs.go | 3 +++ docs/swagger.json | 3 +++ docs/swagger.yaml | 2 ++ internal/api/localtxsubmission.go | 1 + 4 files changed, 9 insertions(+) diff --git a/docs/docs.go b/docs/docs.go index 2e936d4..116ccad 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -321,6 +321,9 @@ const docTemplate = `{ "produces": [ "application/json" ], + "tags": [ + "localtxsubmission" + ], "summary": "Submit Tx", "parameters": [ { diff --git a/docs/swagger.json b/docs/swagger.json index 4992a24..b6acb32 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -313,6 +313,9 @@ "produces": [ "application/json" ], + "tags": [ + "localtxsubmission" + ], "summary": "Submit Tx", "parameters": [ { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 849af56..74a1d57 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -296,4 +296,6 @@ paths: schema: type: string summary: Submit Tx + tags: + - localtxsubmission swagger: "2.0" diff --git a/internal/api/localtxsubmission.go b/internal/api/localtxsubmission.go index 3b7ab4a..36bfb2b 100644 --- a/internal/api/localtxsubmission.go +++ b/internal/api/localtxsubmission.go @@ -34,6 +34,7 @@ func configureLocalTxSubmissionRoutes(apiGroup *gin.RouterGroup) { // handleLocalSubmitTx godoc // // @Summary Submit Tx +// @Tags localtxsubmission // @Description Submit an already serialized transaction to the network. // @Produce json // @Param Content-Type header string true "Content type" Enums(application/cbor)