-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nishu Goel
committed
Jan 31, 2024
1 parent
b3622f7
commit 38b9a1e
Showing
104 changed files
with
3,939 additions
and
6,928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,8 @@ | ||
.PHONY: all docs | ||
all: speakeasy docs | ||
|
||
original.yaml: | ||
curl https://docs.api.epilot.io/journey-config.yaml > original.yaml | ||
|
||
original_modified.yaml: original.yaml | ||
cp original.yaml original_modified.yaml | ||
|
||
overlay.yaml: | ||
speakeasy overlay compare -s original.yaml -s original_modified.yaml > overlay.yaml | ||
all: docs speakeasy | ||
|
||
speakeasy: | ||
$(eval TMP := $(shell mktemp -d)) | ||
curl https://docs.api.epilot.io/journey-config.yaml > $(TMP)/openapi.yaml | ||
speakeasy overlay apply -s $(TMP)/openapi.yaml -o overlay.yaml > $(TMP)/final.yaml | ||
speakeasy generate sdk --lang terraform -o . -s $(TMP)/final.yaml | ||
speakeasy generate sdk --lang terraform -o . -s designbuilder.yaml | ||
|
||
docs: | ||
go generate ./... | ||
|
||
go generate ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.