14 lines
387 B
Protocol Buffer
14 lines
387 B
Protocol Buffer
syntax = "proto3";
|
|
package ambient.weather;
|
|
|
|
import "google/api/annotations.proto";
|
|
import "weather/weather.proto";
|
|
|
|
option go_package = "gitea.libretechconsulting.com/rmcguire/ambient-local-exporter/api/v1alpha1/weather";
|
|
|
|
service AmbientLocalWeatherService {
|
|
rpc GetWeather(GetWeatherRequest) returns (GetWeatherResponse) {
|
|
option (google.api.http) = {get: "/v1/weather"};
|
|
}
|
|
}
|