Skip to content

Commit

Permalink
Bump up oapi codegen to v2 (#7)
Browse files Browse the repository at this point in the history
* Add gogenerate for epgstation api client

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>

* Fix to execute only gogenerate in Makefile

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>

* Make generate

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>

---------

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
  • Loading branch information
musaprg authored Jan 3, 2024
1 parent ff82551 commit 252031a
Show file tree
Hide file tree
Showing 5 changed files with 948 additions and 1,140 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
api/epgstation/api.gen.go: api/epgstation/schema.json
oapi-codegen -package epgstation api/epgstation/schema.json > api/epgstation/api.gen.go

.PHONY: go-generate
go-generate:
go generate ./...

.PHONY: generate
generate: api/epgstation/api.gen.go go-generate
generate: go-generate
Loading

0 comments on commit 252031a

Please sign in to comment.