add generate command

This commit is contained in:
2025-12-08 23:16:04 +09:00
parent ab0f1f9300
commit 2621ba9a17
2 changed files with 8 additions and 0 deletions

4
api/Makefile Normal file
View 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