kojiapi: move api definition
Move the API definition into a sub-directory to follow the style of the worker API. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
369d5d3e4d
commit
504a5890d9
4 changed files with 11 additions and 9 deletions
3
internal/kojiapi/api/api.go
Normal file
3
internal/kojiapi/api/api.go
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
//go:generate go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen --package=api --generate types,chi-server,client -o api.gen.go openapi.yml
|
||||
|
||||
package api
|
||||
Loading…
Add table
Add a link
Reference in a new issue