Rename root, api and sdk module paths (imports, go.mod, go_package, ldflags, build scripts, buf configs) and regenerate protobuf/gateway code with the project's pinned toolchain. Wire identifiers unchanged. api gets a local replace for sdk; root/api/sdk require v0.1.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
33 lines
772 B
Protocol Buffer
33 lines
772 B
Protocol Buffer
// Copyright IBM Corp. 2020, 2026
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
syntax = "proto3";
|
|
|
|
package testing.options.v1;
|
|
|
|
import "google/api/annotations.proto";
|
|
|
|
option go_package = "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/testing/protooptions;protooptions";
|
|
|
|
// The test service definition. This is just a service that can be used to
|
|
// test options applied to services.
|
|
service TestService {
|
|
rpc TestMethod(TestMethodRequest) returns (TestMethodResponse) {
|
|
option (google.api.http) = {
|
|
get: "/v1/test/{id}"
|
|
response_body: "item"
|
|
additional_bindings {get: "/v2/test"}
|
|
};
|
|
}
|
|
}
|
|
|
|
// The request message.
|
|
message TestMethodRequest {
|
|
string id = 1;
|
|
}
|
|
|
|
// The response message.
|
|
message TestMethodResponse {
|
|
string item = 1;
|
|
}
|