Files
weatherapi/internal/adapters/inbound/httpapi/endpoints.go
Eric Rakestraw 0bccfc50d9
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
Implemented the weather forecast discussion product from weatherfeeder v0.8.3
2026-03-28 17:36:35 -05:00

17 lines
470 B
Go

// endpoints.go registers all HTTP endpoint definitions for weatherapi.
// Layer: adapters/inbound/httpapi endpoint registry only.
package httpapi
import "gitea.maximumdirect.net/ejr/feedapi/endpoint"
func Definitions(svc Service) []endpoint.Definition {
defs := []endpoint.Definition{
observationDefinition(svc),
alertsDefinition(svc),
discussionDefinition(svc),
conditionsDefinition(svc),
}
defs = append(defs, forecastDefinitions(svc)...)
return defs
}