Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-TestnetV2 Refactor #374

Merged
merged 8 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ dist/
.cache/
__pycache__
artifacts
node_modules
package-lock.json
generated-ts
13 changes: 6 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export GO111MODULE=on
###############################################################################
.PHONY: build install

all: proto-gen swagger-docs-gen build
all: proto-gen-go proto-gen-swagger build

go-version-check:
ifneq ($(GO_MINOR_VERSION),19)
Expand All @@ -51,18 +51,17 @@ build: go-version-check
### Proto ###
###############################################################################

proto-gen:
proto-gen-go:
@echo "Generating golang code from protobuf"
./scripts/protocgen.sh

###############################################################################
### Docs ###
###############################################################################

swagger-docs-gen:
proto-gen-swagger:
@echo "Generating swagger docs"
./scripts/protoc-swagger-gen.sh

proto-gen-ts:
@echo "Generating typescript code from protobuf"
./scripts/protocgen-ts.sh

###############################################################################
### Docker ###
Expand Down
37 changes: 20 additions & 17 deletions client/docs/config.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
{
"swagger": "2.0",
"info": {
"title": "Hypersign Identity Network - gRPC Gateway docs",
"description": "A REST interface for gRPC queries",
"version": "1.0.0"
"swagger": "2.0",
"info": {
"title": "Hypersign Identity Network - REST API docs",
"description": "A REST interface for gRPC queries",
"version": "1.0.0"
},
"externalDocs": {
"description": "Hypersign Identity Network Documentation",
"url": "https://docs.hypersign.id"
},
"apis": [
{
"url": "./.cache/tmp/swagger-gen/ssi/v1/query.swagger.json"
},
"apis": [
{
"url": "./.cache/tmp/swagger-gen/ssi/v1/query.swagger.json"
},
{
"url": "https://github.com/cosmos/cosmos-sdk/raw/v0.45.7/client/docs/swagger-ui/swagger.yaml",
"dereference": {
"circular": "ignore"
}
{
"url": "https://raw.githubusercontent.com/cosmos/cosmos-sdk/v0.45.11/client/docs/swagger-ui/swagger.yaml",
"dereference": {
"circular": "ignore"
}
]
}
}
]
}
Loading
Loading