Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Olshansk committed Dec 6, 2024
1 parent 8da6f36 commit 1cd87b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ client:
hooks:
path: react/src/hooks
openapi:
path: docs/static/openapi.json
path: docs/static/openapi.yml
validators:
- name: validator1
bonded: 900000000upokt
Expand Down
2 changes: 1 addition & 1 deletion docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

const (
apiFile = "/static/openapi.json"
apiFile = "/static/openapi.yml"
indexFile = "template/index.tpl"
)

Expand Down
1 change: 1 addition & 0 deletions docs/static/openapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":"github.com/pokt-network/poktroll","consumes":["application/json"],"produces":["application/json"],"swagger":"2.0","info":{"description":"Chain github.com/pokt-network/poktroll REST API","title":"HTTP API Console","contact":{"name":"github.com/pokt-network/poktroll"},"version":"version not set"},"paths":{},"definitions":{"google.protobuf.Any":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"google.rpc.Status":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"details":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"message":{"type":"string"}}}}}
1 change: 1 addition & 0 deletions docs/static/openapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":"github.com/pokt-network/poktroll","consumes":["application/json"],"produces":["application/json"],"swagger":"2.0","info":{"description":"Chain github.com/pokt-network/poktroll REST API","title":"HTTP API Console","contact":{"name":"github.com/pokt-network/poktroll"},"version":"version not set"},"paths":{},"definitions":{"google.protobuf.Any":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"google.rpc.Status":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"details":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"message":{"type":"string"}}}}}

0 comments on commit 1cd87b1

Please sign in to comment.