diff --git a/ansys/api/additive/VERSION b/ansys/api/additive/VERSION index e967cc4..cc3447a 100644 --- a/ansys/api/additive/VERSION +++ b/ansys/api/additive/VERSION @@ -1 +1 @@ -2.1.0-dev0 +2.2.0-dev0 diff --git a/ansys/api/additive/v0/additive_settings.proto b/ansys/api/additive/v0/additive_settings.proto new file mode 100644 index 0000000..b9764fb --- /dev/null +++ b/ansys/api/additive/v0/additive_settings.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; + +// See https://docs.microsoft.com/en-us/aspnet/core/grpc/versioning?view=aspnetcore-6.0 for what consitutes a breaking change +package ansys.api.additive.v0.settings; + +option csharp_namespace = "Ansys.Api.Additive.Settings"; + +import "google/protobuf/empty.proto"; + +service SettingsService { + rpc ApplySettings(SettingsRequest) returns (SettingsResponse); + rpc ListSettings(google.protobuf.Empty) returns (ListSettingsResponse); +} + +message Setting { + string key = 1; + string value = 2; +} + +message SettingsRequest { + repeated Setting settings = 1; +} + +message SettingsResponse { + repeated string messages = 1; +} + +message ListSettingsResponse { + repeated Setting settings = 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 cab3a2c..a0078fd 100644 --- a/ansys/api/additive/v0/additive_simulation.proto +++ b/ansys/api/additive/v0/additive_simulation.proto @@ -95,4 +95,4 @@ message MeshResponse { oneof ResponseType { VoxelMeshResult voxel_mesh_result = 10; } -} \ No newline at end of file +}