We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15c36d0 commit 3e783e1Copy full SHA for 3e783e1
Sources/desktop/Types.swift
@@ -18,6 +18,15 @@ extension APIProtocol {
18
19
/// Server URLs defined in the OpenAPI document.
20
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")
30
public static func server1() throws -> Foundation.URL {
31
try Foundation.URL(
32
validatingOpenAPIServerURL: "https://api.github.com",
0 commit comments