Skip to content

Commit

Permalink
fix: open API spec from source controls should be used over live version
Browse files Browse the repository at this point in the history
  • Loading branch information
leggetter committed Oct 21, 2024
1 parent bb53279 commit 8a3d669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/codegen/codegen.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/getkin/kin-openapi/openapi3"
)

const hookdeckOpenAPISchemaURI = "https://api.hookdeck.com/latest/openapi"
const hookdeckOpenAPISchemaURI = "https://raw.githubusercontent.com/hookdeck/hookdeck-api-schema/refs/heads/main/openapi.json"

func RunCodeGen() error {
fmt.Println("generating Hookdeck source verifications")
Expand Down

0 comments on commit 8a3d669

Please sign in to comment.