Skip to content

Commit

Permalink
Merge pull request #37 from humanitec/oapi-codegen-v2
Browse files Browse the repository at this point in the history
feat: bump to oapi-codegen v2
  • Loading branch information
johanneswuerbach authored Nov 6, 2023
2 parents 3106b0f + c0457e8 commit e54916c
Show file tree
Hide file tree
Showing 4 changed files with 464 additions and 732 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ fetch-openapi:
curl -fsSL https://api-docs.humanitec.com/openapi.json > ./docs/openapi.json

generate:
go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.13.0 -generate types,client -package client ./docs/openapi.json > client/client.gen.go
go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen@v2.0.0 -generate types,client -package client ./docs/openapi.json > client/client.gen.go

test:
go test ./... -cover
Loading

0 comments on commit e54916c

Please sign in to comment.