Skip to content

Commit

Permalink
chore: pre-commit gogenerate validate
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Gelloz committed Jan 9, 2023
1 parent e09cbd9 commit d66f0c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
rev: dd079f7c30ad72446d615f55a000d4f875e79633
hooks:
- id: gogenerate
files: swagger.yaml
files: swagger.yml
- id: gomodtidy
- id: goimports
- id: gofmt
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:generate docker run --rm -w /local -v ${PWD}:/local openapitools/openapi-generator-cli:latest validate -i ./swagger.yml
package main

import "github.com/formancehq/payments/cmd"
Expand Down

0 comments on commit d66f0c2

Please sign in to comment.