Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions ansys/api/additive/v0/about.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, string> metadata = 1;
}
2 changes: 0 additions & 2 deletions ansys/api/additive/v0/additive_simulation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions run_protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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