Skip to content

Commit

Permalink
Fix: Add issuer endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Mar 19, 2024
1 parent 398f091 commit 7dc6078
Show file tree
Hide file tree
Showing 4 changed files with 1,173 additions and 5 deletions.
26 changes: 26 additions & 0 deletions openapi-spec/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
CONTAINER_SWAGGER ?= "openapi"

TERM_FLAGS ?= -ti

EXTRA_RUN_ARGS ?=

CONTAINER_DEFAULT_RUN_FLAGS := \
--rm $(TERM_FLAGS) \
$(EXTRA_RUN_ARGS) \
-v $(CURDIR):/usr/share/nginx/html:ro


.DEFAULT_GOAL := help
.PHONY: help
help:
@echo "------------------------------------------------------------------------"
@echo "EWC Wallet API documentation"
@echo "------------------------------------------------------------------------"
@grep -E '^[0-9a-zA-Z_/%\-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

run: ## Run dashboard locally for development purposes
docker run \
$(CONTAINER_DEFAULT_RUN_FLAGS) \
-p 5000:80 \
--name "${CONTAINER_SWAGGER}" \
nginx:alpine
Binary file added openapi-spec/assets/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7dc6078

Please sign in to comment.