Skip to content

Commit 0bca7a7

Browse files
committed
Commit via running ake Sources/meta
1 parent fa45a72 commit 0bca7a7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Sources/meta/Types.swift

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

120120
/// Server URLs defined in the OpenAPI document.
121121
public enum Servers {
122+
public enum Server1 {
123+
public static func url() throws -> Foundation.URL {
124+
try Foundation.URL(
125+
validatingOpenAPIServerURL: "https://api.github.com",
126+
variables: []
127+
)
128+
}
129+
}
130+
@available(*, deprecated, renamed: "Servers.Server1.url")
122131
public static func server1() throws -> Foundation.URL {
123132
try Foundation.URL(
124133
validatingOpenAPIServerURL: "https://api.github.com",
@@ -879,6 +888,14 @@ public enum Operations {
879888
///
880889
/// HTTP response code: `304 notModified`.
881890
case notModified(Components.Responses.not_modified)
891+
/// Not modified
892+
///
893+
/// - Remark: Generated from `#/paths//meta/get(meta/get)/responses/304`.
894+
///
895+
/// HTTP response code: `304 notModified`.
896+
public static var notModified: Self {
897+
.notModified(.init())
898+
}
882899
/// The associated value of the enum case if `self` is `.notModified`.
883900
///
884901
/// - Throws: An error if `self` is not `.notModified`.

0 commit comments

Comments
 (0)