Skip to content

Commit

Permalink
add spec url to retrieve preview
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
  • Loading branch information
kislerdm committed Nov 9, 2024
1 parent f1d0ae9 commit ba1e497
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ build: ## Compiles the binary.
testacc: ## Runs smoke tests.
@ source .env && TF_ACC=1 go test acc_test.go

# official
SPEC_URL := https://neon.tech/api_spec/release/v2.json

# from James, VP of Eng. from Neon
SPEC_URL := https://d216pytvakpmhr.cloudfront.net/api_spec/main/v2.json

.PHONY: fetch-specs
fetch-specs: ## Downloads API specs.
@ curl -SLo openAPIDefinition_new.json https://neon.tech/api_spec/release/v2.json
@ curl -SLo openAPIDefinition_new.json $(SPEC_URL)

0 comments on commit ba1e497

Please sign in to comment.