@@ -616,7 +616,7 @@ public enum Components {
616
616
}
617
617
/// Types generated from the `#/components/requestBodies` section of the OpenAPI document.
618
618
public enum RequestBodies {
619
- public enum UpdatePetRequest : Sendable , Equatable , Hashable {
619
+ @ frozen public enum UpdatePetRequest : Sendable , Equatable , Hashable {
620
620
/// - Remark: Generated from `#/components/requestBodies/UpdatePetRequest/json`.
621
621
public struct jsonPayload : Codable , Equatable , Hashable , Sendable {
622
622
/// - Remark: Generated from `#/components/requestBodies/UpdatePetRequest/json/name`.
@@ -662,7 +662,7 @@ public enum Components {
662
662
}
663
663
/// Received HTTP response headers
664
664
public var headers : Components . Responses . ErrorBadRequest . Headers
665
- public enum Body : Sendable , Equatable , Hashable {
665
+ @ frozen public enum Body : Sendable , Equatable , Hashable {
666
666
/// - Remark: Generated from `#/components/responses/ErrorBadRequest/json`.
667
667
public struct jsonPayload : Codable , Equatable , Hashable , Sendable {
668
668
/// - Remark: Generated from `#/components/responses/ErrorBadRequest/json/code`.
@@ -819,7 +819,7 @@ public enum Operations {
819
819
public init ( ) { }
820
820
}
821
821
public var cookies : Operations . listPets . Input . Cookies
822
- public enum Body : Sendable , Equatable , Hashable { }
822
+ @ frozen public enum Body : Sendable , Equatable , Hashable { }
823
823
public var body : Operations . listPets . Input . Body ?
824
824
/// Creates a new `Input`.
825
825
///
@@ -843,7 +843,7 @@ public enum Operations {
843
843
self . body = body
844
844
}
845
845
}
846
- public enum Output : Sendable , Equatable , Hashable {
846
+ @ frozen public enum Output : Sendable , Equatable , Hashable {
847
847
public struct Ok : Sendable , Equatable , Hashable {
848
848
public struct Headers : Sendable , Equatable , Hashable {
849
849
public var My_Response_UUID : Swift . String
@@ -863,7 +863,7 @@ public enum Operations {
863
863
}
864
864
/// Received HTTP response headers
865
865
public var headers : Operations . listPets . Output . Ok . Headers
866
- public enum Body : Sendable , Equatable , Hashable {
866
+ @ frozen public enum Body : Sendable , Equatable , Hashable {
867
867
case json( Components . Schemas . Pets )
868
868
}
869
869
/// Received HTTP response body
@@ -894,7 +894,7 @@ public enum Operations {
894
894
}
895
895
/// Received HTTP response headers
896
896
public var headers : Operations . listPets . Output . Default . Headers
897
- public enum Body : Sendable , Equatable , Hashable {
897
+ @ frozen public enum Body : Sendable , Equatable , Hashable {
898
898
case json( Components . Schemas . _Error )
899
899
}
900
900
/// Received HTTP response body
@@ -953,7 +953,7 @@ public enum Operations {
953
953
public init ( ) { }
954
954
}
955
955
public var cookies : Operations . createPet . Input . Cookies
956
- public enum Body : Sendable , Equatable , Hashable {
956
+ @ frozen public enum Body : Sendable , Equatable , Hashable {
957
957
case json( Components . Schemas . CreatePetRequest )
958
958
}
959
959
public var body : Operations . createPet . Input . Body
@@ -979,7 +979,7 @@ public enum Operations {
979
979
self . body = body
980
980
}
981
981
}
982
- public enum Output : Sendable , Equatable , Hashable {
982
+ @ frozen public enum Output : Sendable , Equatable , Hashable {
983
983
public struct Created : Sendable , Equatable , Hashable {
984
984
public struct Headers : Sendable , Equatable , Hashable {
985
985
public var X_Extra_Arguments : Components . Schemas . CodeError ?
@@ -993,7 +993,7 @@ public enum Operations {
993
993
}
994
994
/// Received HTTP response headers
995
995
public var headers : Operations . createPet . Output . Created . Headers
996
- public enum Body : Sendable , Equatable , Hashable {
996
+ @ frozen public enum Body : Sendable , Equatable , Hashable {
997
997
case json( Components . Schemas . Pet )
998
998
}
999
999
/// Received HTTP response body
@@ -1054,7 +1054,7 @@ public enum Operations {
1054
1054
public init ( ) { }
1055
1055
}
1056
1056
public var cookies : Operations . probe . Input . Cookies
1057
- public enum Body : Sendable , Equatable , Hashable { }
1057
+ @ frozen public enum Body : Sendable , Equatable , Hashable { }
1058
1058
public var body : Operations . probe . Input . Body ?
1059
1059
/// Creates a new `Input`.
1060
1060
///
@@ -1078,15 +1078,15 @@ public enum Operations {
1078
1078
self . body = body
1079
1079
}
1080
1080
}
1081
- public enum Output : Sendable , Equatable , Hashable {
1081
+ @ frozen public enum Output : Sendable , Equatable , Hashable {
1082
1082
public struct NoContent : Sendable , Equatable , Hashable {
1083
1083
public struct Headers : Sendable , Equatable , Hashable {
1084
1084
/// Creates a new `Headers`.
1085
1085
public init ( ) { }
1086
1086
}
1087
1087
/// Received HTTP response headers
1088
1088
public var headers : Operations . probe . Output . NoContent . Headers
1089
- public enum Body : Sendable , Equatable , Hashable { }
1089
+ @ frozen public enum Body : Sendable , Equatable , Hashable { }
1090
1090
/// Received HTTP response body
1091
1091
public var body : Operations . probe . Output . NoContent . Body ?
1092
1092
/// Creates a new `NoContent`.
@@ -1168,15 +1168,15 @@ public enum Operations {
1168
1168
self . body = body
1169
1169
}
1170
1170
}
1171
- public enum Output : Sendable , Equatable , Hashable {
1171
+ @ frozen public enum Output : Sendable , Equatable , Hashable {
1172
1172
public struct NoContent : Sendable , Equatable , Hashable {
1173
1173
public struct Headers : Sendable , Equatable , Hashable {
1174
1174
/// Creates a new `Headers`.
1175
1175
public init ( ) { }
1176
1176
}
1177
1177
/// Received HTTP response headers
1178
1178
public var headers : Operations . updatePet . Output . NoContent . Headers
1179
- public enum Body : Sendable , Equatable , Hashable { }
1179
+ @ frozen public enum Body : Sendable , Equatable , Hashable { }
1180
1180
/// Received HTTP response body
1181
1181
public var body : Operations . updatePet . Output . NoContent . Body ?
1182
1182
/// Creates a new `NoContent`.
@@ -1205,7 +1205,7 @@ public enum Operations {
1205
1205
}
1206
1206
/// Received HTTP response headers
1207
1207
public var headers : Operations . updatePet . Output . BadRequest . Headers
1208
- public enum Body : Sendable , Equatable , Hashable {
1208
+ @ frozen public enum Body : Sendable , Equatable , Hashable {
1209
1209
/// - Remark: Generated from `#/paths/pets/{petId}/PATCH/json`.
1210
1210
public struct jsonPayload : Codable , Equatable , Hashable , Sendable {
1211
1211
/// - Remark: Generated from `#/paths/pets/{petId}/PATCH/json/message`.
@@ -1277,7 +1277,7 @@ public enum Operations {
1277
1277
public init ( ) { }
1278
1278
}
1279
1279
public var cookies : Operations . uploadAvatarForPet . Input . Cookies
1280
- public enum Body : Sendable , Equatable , Hashable { case binary( Foundation . Data ) }
1280
+ @ frozen public enum Body : Sendable , Equatable , Hashable { case binary( Foundation . Data ) }
1281
1281
public var body : Operations . uploadAvatarForPet . Input . Body
1282
1282
/// Creates a new `Input`.
1283
1283
///
@@ -1301,15 +1301,17 @@ public enum Operations {
1301
1301
self . body = body
1302
1302
}
1303
1303
}
1304
- public enum Output : Sendable , Equatable , Hashable {
1304
+ @ frozen public enum Output : Sendable , Equatable , Hashable {
1305
1305
public struct Ok : Sendable , Equatable , Hashable {
1306
1306
public struct Headers : Sendable , Equatable , Hashable {
1307
1307
/// Creates a new `Headers`.
1308
1308
public init ( ) { }
1309
1309
}
1310
1310
/// Received HTTP response headers
1311
1311
public var headers : Operations . uploadAvatarForPet . Output . Ok . Headers
1312
- public enum Body : Sendable , Equatable , Hashable { case binary( Foundation . Data ) }
1312
+ @frozen public enum Body : Sendable , Equatable , Hashable {
1313
+ case binary( Foundation . Data )
1314
+ }
1313
1315
/// Received HTTP response body
1314
1316
public var body : Operations . uploadAvatarForPet . Output . Ok . Body
1315
1317
/// Creates a new `Ok`.
@@ -1338,7 +1340,7 @@ public enum Operations {
1338
1340
}
1339
1341
/// Received HTTP response headers
1340
1342
public var headers : Operations . uploadAvatarForPet . Output . PreconditionFailed . Headers
1341
- public enum Body : Sendable , Equatable , Hashable { case json( Swift . String ) }
1343
+ @ frozen public enum Body : Sendable , Equatable , Hashable { case json( Swift . String ) }
1342
1344
/// Received HTTP response body
1343
1345
public var body : Operations . uploadAvatarForPet . Output . PreconditionFailed . Body
1344
1346
/// Creates a new `PreconditionFailed`.
@@ -1368,7 +1370,7 @@ public enum Operations {
1368
1370
}
1369
1371
/// Received HTTP response headers
1370
1372
public var headers : Operations . uploadAvatarForPet . Output . InternalServerError . Headers
1371
- public enum Body : Sendable , Equatable , Hashable { case text( Swift . String ) }
1373
+ @ frozen public enum Body : Sendable , Equatable , Hashable { case text( Swift . String ) }
1372
1374
/// Received HTTP response body
1373
1375
public var body : Operations . uploadAvatarForPet . Output . InternalServerError . Body
1374
1376
/// Creates a new `InternalServerError`.
0 commit comments