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)