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:
Tom Gundersen 2020-09-17 01:55:42 +01:00
parent 369d5d3e4d
commit 504a5890d9
4 changed files with 11 additions and 9 deletions

View 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