Register swagger API (#7246)

* init

* Fix statik gen

* Fix swagger

* Change swagger url

* Fix swagger serve

* remove ibc swagger from legacy docs

* Add old routes config

* Move swagger api to app.go

* add godoc

* Fix inputs

* Fix swagger dir

* Fix statik

* refactor

* fmt

* fix doc

* Fix swagger config check
This commit is contained in:
Anil Kumar Kammari
2020-09-19 00:34:56 +00:00
committed by GitHub
parent d6357e77b4
commit ca7b31dd5d
14 changed files with 29607 additions and 15663 deletions
@@ -1,10 +1,17 @@
{
"swagger": "2.0",
"info": {
"title": "Cosmos SDK - GRPC Gateway",
"title": "Cosmos SDK - Legacy REST and gRPC Gateway docs",
"description": "A REST interface for state queries, legacy transactions",
"version": "1.0.0"
},
"apis": [
{
"url": "./client/docs/swagger_legacy.yaml",
"dereference": {
"circular": "ignore"
}
},
{
"url": "./cosmos/auth/v1beta1/query.swagger.json",
"operationIds": {
File diff suppressed because one or more lines are too long
+27020 -1703
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff