OpenAPI 3.0 contract (api/openapi.yaml) with oapi-codegen generated server, client and models; preload-api (Jellyfin lookup, SQLite queue, bearer roles) runs at home, preload-agent runs on the VPS and fills the rclone cache. mise manages Go 1.27.3 and oapi-codegen 2.8.2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GUebqghNwNssAZuWTxUq1y
10 lines
271 B
YAML
10 lines
271 B
YAML
# oapi-codegen v2 config: models, a net/http (Go 1.22 ServeMux) strict server, a typed client, and the embedded spec.
|
|
package: api
|
|
output: internal/api/api.gen.go
|
|
generate:
|
|
models: true
|
|
std-http-server: true
|
|
strict-server: true
|
|
client: true
|
|
embedded-spec: true
|