feat: polish & windviz & deploy
This commit is contained in:
parent
81b8e763bd
commit
465ad00f7b
78 changed files with 20622 additions and 2154 deletions
13
api/spec.go
Normal file
13
api/spec.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Package apispec embeds the OpenAPI specification so it can be served at
|
||||
// runtime (for the ReDoc documentation page and /openapi.yaml) without
|
||||
// shipping a separate file alongside the binary.
|
||||
//
|
||||
// The spec at rest/predictor.swagger.yml is the single source of truth: it
|
||||
// is both the ogen code-generation input (see the Makefile generate-ogen
|
||||
// target) and the document served by the API's docs handler.
|
||||
package apispec
|
||||
|
||||
import _ "embed"
|
||||
|
||||
//go:embed rest/predictor.swagger.yml
|
||||
var Spec []byte
|
||||
Loading…
Add table
Add a link
Reference in a new issue