Skip to content

Commit 0c2a77f

Browse files
alluri02Srinivas Alluri
and
Srinivas Alluri
authored
Neon GA release dotnet SDK client fixes (#34043)
* updated the client spec file to fix the dotnet sdk issues * removed unused imports --------- Co-authored-by: Srinivas Alluri <[email protected]>
1 parent 1e06393 commit 0c2a77f

File tree

8 files changed

+34
-14
lines changed

8 files changed

+34
-14
lines changed

specification/liftrneon/Neon.Postgres.Management/Neon.Postgres.Models/branches.tsp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import "./commons.tsp"; // Import common types
22

3-
using TypeSpec.Http;
43
using TypeSpec.Rest;
54
using Azure.ResourceManager;
65
using TypeSpec.Versioning;
7-
using LiftrBase.Data;
86

97
namespace Neon.Postgres.Models;
108

specification/liftrneon/Neon.Postgres.Management/Neon.Postgres.Models/commons.tsp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ import "@azure-tools/typespec-autorest";
44
import "@azure-tools/typespec-azure-core";
55
import "@azure-tools/typespec-azure-resource-manager";
66

7-
using TypeSpec.Http;
8-
using TypeSpec.Rest;
97
using Azure.ResourceManager;
108
using TypeSpec.Versioning;
11-
using LiftrBase.Data;
129

1310
namespace Neon.Postgres.Models;
1411

specification/liftrneon/Neon.Postgres.Management/Neon.Postgres.Models/compute.tsp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import "./commons.tsp"; // Import common types
22

3-
using TypeSpec.Http;
43
using TypeSpec.Rest;
54
using Azure.ResourceManager;
65
using TypeSpec.Versioning;
7-
using LiftrBase.Data;
86

97
namespace Neon.Postgres.Models;
108

specification/liftrneon/Neon.Postgres.Management/Neon.Postgres.Models/databases.tsp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import "./commons.tsp"; // Import common types
22

3-
using TypeSpec.Http;
43
using TypeSpec.Rest;
54
using Azure.ResourceManager;
65
using TypeSpec.Versioning;
7-
using LiftrBase.Data;
86

97
namespace Neon.Postgres.Models;
108

specification/liftrneon/Neon.Postgres.Management/Neon.Postgres.Models/projects.tsp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import "./commons.tsp"; // Import common types
22
import "./endpoints.tsp"; // Import EndpointProperties type
33

4-
using TypeSpec.Http;
54
using TypeSpec.Rest;
65
using Azure.ResourceManager;
76
using TypeSpec.Versioning;
8-
using LiftrBase.Data;
97

108
namespace Neon.Postgres.Models;
119

specification/liftrneon/Neon.Postgres.Management/Neon.Postgres.Models/roles.tsp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import "./commons.tsp"; // Import common types
22

3-
using TypeSpec.Http;
43
using TypeSpec.Rest;
54
using Azure.ResourceManager;
65
using TypeSpec.Versioning;
7-
using LiftrBase.Data;
86

97
namespace Neon.Postgres.Models;
108

specification/liftrneon/Neon.Postgres.Management/client.tsp

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,37 @@ using Azure.ClientGenerator.Core;
2323
"csharp"
2424
);
2525
@@clientName(LiftrBase.SingleSignOnStates, "NeonSingleSignOnState", "csharp");
26+
27+
@@clientName(Neon.Postgres.Models.Project, "NeonProject", "csharp");
28+
@@clientName(Neon.Postgres.Models.ProjectProperties,
29+
"NeonProjectProperties",
30+
"csharp"
31+
);
32+
33+
@@clientName(Neon.Postgres.Models.Branch, "NeonBranch", "csharp");
34+
@@clientName(Neon.Postgres.Models.BranchProperties,
35+
"NeonBranchProperties",
36+
"csharp"
37+
);
38+
39+
@@clientName(Neon.Postgres.Models.Endpoint, "NeonEndpoint", "csharp");
40+
@@clientName(Neon.Postgres.Models.EndpointProperties,
41+
"NeonEndpointProperties",
42+
"csharp"
43+
);
44+
45+
@@clientName(Neon.Postgres.Models.Compute, "NeonCompute", "csharp");
46+
@@clientName(Neon.Postgres.Models.ComputeProperties,
47+
"NeonComputeProperties",
48+
"csharp"
49+
);
50+
51+
@@clientName(Neon.Postgres.Models.ProjectProperties.pgVersion,
52+
"postgresVersion",
53+
"csharp"
54+
);
55+
56+
@@clientName(Neon.Postgres.Models.ProjectProperties.attributes,
57+
"attribute",
58+
"csharp"
59+
);

specification/liftrneon/Neon.Postgres.Management/main.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ using TypeSpec.Http;
1616
using TypeSpec.Rest;
1717
using Azure.ResourceManager;
1818
using TypeSpec.Versioning;
19-
using LiftrBase;
2019
using LiftrBase.Data;
2120

2221
@armProviderNamespace

0 commit comments

Comments
 (0)