From 0f172d88241d4f3fce5add6fd5d406425f6df459 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sun, 25 Oct 2026 17:05:15 +0100 Subject: [PATCH] Updated the server URL usage in documentation examples. --- README.md | 2 +- .../Catalogs/ASConnectService.docc/Extensions/Client.md | 2 +- .../ASConnectService/Catalogs/ASConnectService.docc/Library.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c5e0a5a736..ba6fe336b7 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ import ASConnectService import OpenAPIURLSession let client = Client( - serverURL: try Servers.server1(), + serverURL: try Servers.Server1.url(), transport: URLSessionTransport(), middlewares: [ BearerAuthMiddleware(token: yourJWTToken) diff --git a/Sources/ASConnectService/Catalogs/ASConnectService.docc/Extensions/Client.md b/Sources/ASConnectService/Catalogs/ASConnectService.docc/Extensions/Client.md index 08c6d78a6e..542beefb47 100644 --- a/Sources/ASConnectService/Catalogs/ASConnectService.docc/Extensions/Client.md +++ b/Sources/ASConnectService/Catalogs/ASConnectService.docc/Extensions/Client.md @@ -15,7 +15,7 @@ import ASConnectService import OpenAPIURLSession let client = Client( - serverURL: try Servers.server1(), + serverURL: try Servers.Server1.url(), transport: URLSessionTransport(), middlewares: [ BearerAuthMiddleware(token: yourJWTToken) diff --git a/Sources/ASConnectService/Catalogs/ASConnectService.docc/Library.md b/Sources/ASConnectService/Catalogs/ASConnectService.docc/Library.md index 94d244283d..4cf5a1a4d4 100644 --- a/Sources/ASConnectService/Catalogs/ASConnectService.docc/Library.md +++ b/Sources/ASConnectService/Catalogs/ASConnectService.docc/Library.md @@ -17,7 +17,7 @@ import ASConnectService import OpenAPIURLSession let client = Client( - serverURL: try Servers.server1(), + serverURL: try Servers.Server1.url(), transport: URLSessionTransport(), middlewares: [ BearerAuthMiddleware(token: yourJWTToken)