mirror of
https://github.com/juanfont/headscale.git
synced 2026-08-07 07:48:44 +09:00
01dcd4011e
go generate (gen/api/v1) runs ogen against openapi/v1/headscale.yaml; ogen added as a tool dependency. CI freshness check covers openapi/.
9 lines
473 B
Go
9 lines
473 B
Go
// Package apiv1 contains the ogen-generated server and client for the
|
|
// Headscale v1 HTTP API. The code is generated from the committed OpenAPI 3.0
|
|
// spec at openapi/v1/headscale.yaml — the single source of truth. Do not edit
|
|
// generated files by hand; run `make generate` (or `go generate ./...`) after
|
|
// changing the spec.
|
|
//
|
|
//go:generate go run github.com/ogen-go/ogen/cmd/ogen --target . --package apiv1 --clean ../../../openapi/v1/headscale.yaml
|
|
package apiv1
|