Skip to content

Commit

Permalink
docs(swagger): tag localtxsubmission endpoint (#250)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 authored Sep 11, 2024
1 parent 310e165 commit a72cac5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@
"produces": [
"application/json"
],
"tags": [
"localtxsubmission"
],
"summary": "Submit Tx",
"parameters": [
{
Expand Down
2 changes: 2 additions & 0 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -296,4 +296,6 @@ paths:
schema:
type: string
summary: Submit Tx
tags:
- localtxsubmission
swagger: "2.0"
1 change: 1 addition & 0 deletions internal/api/localtxsubmission.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a72cac5

Please sign in to comment.