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 f305bfb commit 2afd063Copy full SHA for 2afd063
Sources/oidc/Types.swift
@@ -73,6 +73,15 @@ extension APIProtocol {
73
74
/// Server URLs defined in the OpenAPI document.
75
public enum Servers {
76
+ public enum Server1 {
77
+ public static func url() throws -> Foundation.URL {
78
+ try Foundation.URL(
79
+ validatingOpenAPIServerURL: "https://api.github.com",
80
+ variables: []
81
+ )
82
+ }
83
84
+ @available(*, deprecated, renamed: "Servers.Server1.url")
85
public static func server1() throws -> Foundation.URL {
86
try Foundation.URL(
87
validatingOpenAPIServerURL: "https://api.github.com",
0 commit comments