Skip to content

Commit d0db0e4

Browse files
committed
Commit via running ake Sources/rate-limit
1 parent 9141ce3 commit d0db0e4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Sources/rate-limit/Types.swift

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,15 @@ extension APIProtocol {
6565

6666
/// Server URLs defined in the OpenAPI document.
6767
public enum Servers {
68+
public enum Server1 {
69+
public static func url() throws -> Foundation.URL {
70+
try Foundation.URL(
71+
validatingOpenAPIServerURL: "https://api.github.com",
72+
variables: []
73+
)
74+
}
75+
}
76+
@available(*, deprecated, renamed: "Servers.Server1.url")
6877
public static func server1() throws -> Foundation.URL {
6978
try Foundation.URL(
7079
validatingOpenAPIServerURL: "https://api.github.com",
@@ -437,6 +446,14 @@ public enum Operations {
437446
///
438447
/// HTTP response code: `304 notModified`.
439448
case notModified(Components.Responses.not_modified)
449+
/// Not modified
450+
///
451+
/// - Remark: Generated from `#/paths//rate_limit/get(rate-limit/get)/responses/304`.
452+
///
453+
/// HTTP response code: `304 notModified`.
454+
public static var notModified: Self {
455+
.notModified(.init())
456+
}
440457
/// The associated value of the enum case if `self` is `.notModified`.
441458
///
442459
/// - Throws: An error if `self` is not `.notModified`.

0 commit comments

Comments
 (0)