Skip to content

Commit 58b3def

Browse files
committed
Isolate ServiceEndpoint to Serialization/ServiceEndpoint
Hide stuff that a "regular user" doesn't need to use. Service -> Api -> Endpoint
1 parent 3cfc684 commit 58b3def

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/corelib/Networking/v2/NetworkingApiBuilder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using Flurl.Http;
99
using OpenStack.Authentication;
1010
using OpenStack.Networking.v2.Serialization;
11+
using OpenStack.Serialization;
1112

1213
namespace OpenStack.Networking.v2
1314
{

src/corelib/OpenStack.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,7 @@
854854
<Compile Include="Serialization\IPageLink.cs" />
855855
<Compile Include="Serialization\IServiceResource.cs" />
856856
<Compile Include="Serialization\ResourceStatus.cs" />
857+
<Compile Include="Serialization\ServiceEndpoint.cs" />
857858
<Compile Include="Serialization\StringEnumeration.cs" />
858859
<Compile Include="Serialization\IdentifierConverter.cs" />
859860
<Compile Include="Serialization\IHaveExtraData.cs" />
@@ -867,7 +868,6 @@
867868
<Compile Include="Serialization\TimeSpanInSecondsConverter.cs" />
868869
<Compile Include="Serialization\TolerantEnumConverter.cs" />
869870
<Compile Include="Serialization\RootWrapperConverter.cs" />
870-
<Compile Include="ServiceEndpoint.cs" />
871871
<Compile Include="Testing\HttpTest.cs" />
872872
<Compile Include="Testing\NamespaceDoc.cs" />
873873
</ItemGroup>

src/corelib/ServiceEndpoint.cs renamed to src/corelib/Serialization/ServiceEndpoint.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Net;
@@ -8,9 +8,8 @@
88
using Flurl.Extensions;
99
using Flurl.Http;
1010
using OpenStack.Authentication;
11-
using OpenStack.Serialization;
1211

13-
namespace OpenStack
12+
namespace OpenStack.Serialization
1413
{
1514
/// <summary>
1615
/// Creates urls

0 commit comments

Comments
 (0)