Skip to content

Commit 8e61aa1

Browse files
committed
Commit via running ake Sources/licenses
1 parent dc7c21a commit 8e61aa1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Sources/licenses/Types.swift

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,15 @@ extension APIProtocol {
9797

9898
/// Server URLs defined in the OpenAPI document.
9999
public enum Servers {
100+
public enum Server1 {
101+
public static func url() throws -> Foundation.URL {
102+
try Foundation.URL(
103+
validatingOpenAPIServerURL: "https://api.github.com",
104+
variables: []
105+
)
106+
}
107+
}
108+
@available(*, deprecated, renamed: "Servers.Server1.url")
100109
public static func server1() throws -> Foundation.URL {
101110
try Foundation.URL(
102111
validatingOpenAPIServerURL: "https://api.github.com",
@@ -676,6 +685,14 @@ public enum Operations {
676685
///
677686
/// HTTP response code: `304 notModified`.
678687
case notModified(Components.Responses.not_modified)
688+
/// Not modified
689+
///
690+
/// - Remark: Generated from `#/paths//licenses/get(licenses/get-all-commonly-used)/responses/304`.
691+
///
692+
/// HTTP response code: `304 notModified`.
693+
public static var notModified: Self {
694+
.notModified(.init())
695+
}
679696
/// The associated value of the enum case if `self` is `.notModified`.
680697
///
681698
/// - Throws: An error if `self` is not `.notModified`.
@@ -875,6 +892,14 @@ public enum Operations {
875892
///
876893
/// HTTP response code: `304 notModified`.
877894
case notModified(Components.Responses.not_modified)
895+
/// Not modified
896+
///
897+
/// - Remark: Generated from `#/paths//licenses/{license}/get(licenses/get)/responses/304`.
898+
///
899+
/// HTTP response code: `304 notModified`.
900+
public static var notModified: Self {
901+
.notModified(.init())
902+
}
878903
/// The associated value of the enum case if `self` is `.notModified`.
879904
///
880905
/// - Throws: An error if `self` is not `.notModified`.

0 commit comments

Comments
 (0)