api_processor/proto/text_service.proto
2025-05-06 17:29:20 +03:00

18 lines
293 B
Protocol Buffer

// proto/text_service.proto
syntax = "proto3";
package text_service;
service TextProcessor {
rpc ProcessText(TextRequest) returns (TextResponse) {}
}
message TextRequest {
string text = 1;
}
message TextResponse {
string processed_text = 1;
bool success = 2;
string error = 3;
}