Skip to content

Commit 3e783e1

Browse files
committed
Commit via running ake Sources/desktop
1 parent 15c36d0 commit 3e783e1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Sources/desktop/Types.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ extension APIProtocol {
1818

1919
/// Server URLs defined in the OpenAPI document.
2020
public enum Servers {
21+
public enum Server1 {
22+
public static func url() throws -> Foundation.URL {
23+
try Foundation.URL(
24+
validatingOpenAPIServerURL: "https://api.github.com",
25+
variables: []
26+
)
27+
}
28+
}
29+
@available(*, deprecated, renamed: "Servers.Server1.url")
2130
public static func server1() throws -> Foundation.URL {
2231
try Foundation.URL(
2332
validatingOpenAPIServerURL: "https://api.github.com",

0 commit comments

Comments
 (0)