diff --git a/ansys/api/additive/v0/about.proto b/ansys/api/additive/v0/about.proto index c22251a..5757ea7 100644 --- a/ansys/api/additive/v0/about.proto +++ b/ansys/api/additive/v0/about.proto @@ -7,15 +7,14 @@ import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; -// The greeting service definition. -service About { - rpc About (google.protobuf.Empty) returns (AboutReply) { +service AboutService { + rpc About (google.protobuf.Empty) returns (AboutResponse) { option (google.api.http) = { get: "/about" }; } } -message AboutReply { +message AboutResponse { map metadata = 1; } \ No newline at end of file diff --git a/ansys/api/additive/v0/additive_simulation.proto b/ansys/api/additive/v0/additive_simulation.proto index 2886bf2..41096be 100644 --- a/ansys/api/additive/v0/additive_simulation.proto +++ b/ansys/api/additive/v0/additive_simulation.proto @@ -7,8 +7,6 @@ option csharp_namespace = "Ansys.Api.Additive.Simulation"; import "ansys/api/additive/v0/additive_domain.proto"; -// Units are SI unless otherwise noted - service SimulationService { rpc Simulate(SimulationRequest) returns (stream SimulationResponse); rpc UploadFile(stream UploadFileRequest) returns (stream UploadFileResponse); diff --git a/run_protoc.sh b/run_protoc.sh index 8a39f39..4811587 100644 --- a/run_protoc.sh +++ b/run_protoc.sh @@ -4,4 +4,5 @@ rm -rf ${outdir} mkdir -p ${outdir} python -m grpc_tools.protoc --python_out=${outdir} --grpc_python_out=${outdir} -I. ansys/api/additive/v0/*.proto echo "protobuf interface files written to ${outdir}" +dotnet clean csharp/*.csproj dotnet build csharp/*.csproj \ No newline at end of file