-
Notifications
You must be signed in to change notification settings - Fork 0
/
swagger_gen.go
27 lines (22 loc) · 986 Bytes
/
swagger_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//go:generate go run github.com/swaggo/swag/cmd/swag i -g ../docs/swagger_gen.go -d ../rest --parseDepth 3 --parseDependency -o ./
// @title Emeris CNS Server API
// @version 1.0
// @description Internal API allowing the configuration of the Emeris system.
// @contact.name API Support
// @contact.email gautier@tendermint.com
// @BasePath /
// @query.collection.format multi
// Package docs is needed to generate swagger documentation.
// We keep underscore import here to make sure go mod doesn't remove swaggo dependency,
// otherwise we cannot use the generate statement up there ^.
package docs
import (
_ "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/cosmos-sdk/types/tx"
_ "github.com/cosmos/cosmos-sdk/x/bank/types"
_ "github.com/emerishq/demeris-backend-models/cns"
_ "github.com/emerishq/emeris-utils/store"
_ "github.com/swaggo/swag"
_ "github.com/tendermint/tendermint/proto/tendermint/version"
_ "github.com/tendermint/tendermint/rpc/core/types"
)