diff --git a/Makefile b/Makefile index 991fbf63..55a1e17a 100644 --- a/Makefile +++ b/Makefile @@ -194,6 +194,7 @@ $(GITHUB_SPEC_DIR): $(GITHUB_SPEC): $(GITHUB_SPEC_DIR) curl -sSL $(GITHUB_SPEC_REMOTE) -o $@ + patch -f -p1 < specs/patches/github/*patch github: target/debug/generator $(GITHUB_SPEC) ./target/debug/generator -i $(GITHUB_SPEC) -v 0.3.2 \ diff --git a/specs/patches/github/0001-Fix-created-param-format-for-GitHub-workflow-listing.patch b/specs/patches/github/0001-Fix-created-param-format-for-GitHub-workflow-listing.patch new file mode 100644 index 00000000..de58bbfa --- /dev/null +++ b/specs/patches/github/0001-Fix-created-param-format-for-GitHub-workflow-listing.patch @@ -0,0 +1,20 @@ +commit 41a997b90c17c3bcc2197db26b8afef4d35fe7c1 +Author: Augustus Mayo +Date: Mon Apr 3 10:27:02 2023 -0500 + + Fix created param format for GitHub workflow listing + +diff --git a/specs/github/api.github.com.json b/specs/github/api.github.com.json +index 66bc0e6..5ec536d 100644 +--- a/specs/github/api.github.com.json ++++ b/specs/github/api.github.com.json +@@ -95467,8 +95467,7 @@ + "in": "query", + "required": false, + "schema": { +- "type": "string", +- "format": "date-time" ++ "type": "string" + } + }, + "run-id": {