Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
[DX-1227] Update Makefile, use sandbox OpenAPI spec. (#173)
Browse files Browse the repository at this point in the history
Update Makefile, use sandbox OpenAPI spec.
  • Loading branch information
CodeSchwert authored Sep 23, 2022
1 parent d6ab066 commit 29566eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.PHONY: generate-openapi-prod
generate-openapi-prod: get-openapi-prod generate-api

.PHONY: generate-openapi-ropsten
generate-openapi-ropsten: get-openapi-ropsten generate-api
.PHONY: generate-openapi-sandbox
generate-openapi-sandbox: get-openapi-sandbox generate-api

.PHONY: get-openapi-prod
get-openapi-prod:
Expand All @@ -11,11 +11,11 @@ get-openapi-prod:
https://api.x.immutable.com/openapi \
-o openapi.json

.PHONY: get-openapi-ropsten
get-openapi-ropsten:
.PHONY: get-openapi-sandbox
get-openapi-sandbox:
rm openapi.json && touch openapi.json && \
curl -H "Accept: application/json+v3" \
https://api.ropsten.x.immutable.com/openapi \
https://api.sandbox.x.immutable.com/openapi \
-o openapi.json

.PHONY: generate-api
Expand Down

0 comments on commit 29566eb

Please sign in to comment.