Skip to content

Commit 51dd399

Browse files
committed
Commit via running ake Sources/gitignore
1 parent 59a934d commit 51dd399

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Sources/gitignore/Types.swift

Lines changed: 25 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",
@@ -207,6 +216,14 @@ public enum Operations {
207216
///
208217
/// HTTP response code: `304 notModified`.
209218
case notModified(Components.Responses.not_modified)
219+
/// Not modified
220+
///
221+
/// - Remark: Generated from `#/paths//gitignore/templates/get(gitignore/get-all-templates)/responses/304`.
222+
///
223+
/// HTTP response code: `304 notModified`.
224+
public static var notModified: Self {
225+
.notModified(.init())
226+
}
210227
/// The associated value of the enum case if `self` is `.notModified`.
211228
///
212229
/// - Throws: An error if `self` is not `.notModified`.
@@ -364,6 +381,14 @@ public enum Operations {
364381
///
365382
/// HTTP response code: `304 notModified`.
366383
case notModified(Components.Responses.not_modified)
384+
/// Not modified
385+
///
386+
/// - Remark: Generated from `#/paths//gitignore/templates/{name}/get(gitignore/get-template)/responses/304`.
387+
///
388+
/// HTTP response code: `304 notModified`.
389+
public static var notModified: Self {
390+
.notModified(.init())
391+
}
367392
/// The associated value of the enum case if `self` is `.notModified`.
368393
///
369394
/// - Throws: An error if `self` is not `.notModified`.

0 commit comments

Comments
 (0)