add generate command
This commit is contained in:
4
api/Makefile
Normal file
4
api/Makefile
Normal file
@@ -0,0 +1,4 @@
|
||||
.PHONY: generate
|
||||
generate:
|
||||
bunx tsp compile .
|
||||
oapi-codegen -package=api -generate=chi-server,models,strict-server -o gen.go tsp-output/schema/openapi.yaml
|
||||
Reference in New Issue
Block a user