flamenco/pkg/api/generate.go
Sybren A. Stüvel 744fabea78 OAPI: rename pkg/api/flamenco-manager.yaml to flamenco-openapi.yaml
Rename `pkg/api/flamenco-manager.yaml` to `flamenco-openapi.yaml`, to
distinguish the OpenAPI definition file from the Flamenco Manager
configuration file of the same name (but in a different directory).

No functional changes.
2022-05-19 15:22:37 +02:00

8 lines
518 B
Go

// SPDX-License-Identifier: GPL-3.0-or-later
package api
//go:generate oapi-codegen -generate types,skip-prune -o openapi_types.gen.go -package api flamenco-openapi.yaml
//go:generate oapi-codegen -generate server,skip-prune -o openapi_server.gen.go -package api flamenco-openapi.yaml
//go:generate oapi-codegen -generate spec,skip-prune -o openapi_spec.gen.go -package api flamenco-openapi.yaml
//go:generate oapi-codegen -generate client,skip-prune -o openapi_client.gen.go -package api flamenco-openapi.yaml