@@ -590,6 +590,8 @@ public enum Components {
590
590
@frozen public enum UpdatePetRequest : Sendable , Equatable , Hashable {
591
591
/// - Remark: Generated from `#/components/requestBodies/UpdatePetRequest/json`.
592
592
public struct jsonPayload : Codable , Equatable , Hashable , Sendable {
593
+ /// Pet name
594
+ ///
593
595
/// - Remark: Generated from `#/components/requestBodies/UpdatePetRequest/json/name`.
594
596
public var name : Swift . String ?
595
597
/// - Remark: Generated from `#/components/requestBodies/UpdatePetRequest/json/kind`.
@@ -599,7 +601,7 @@ public enum Components {
599
601
/// Creates a new `jsonPayload`.
600
602
///
601
603
/// - Parameters:
602
- /// - name:
604
+ /// - name: Pet name
603
605
/// - kind:
604
606
/// - tag:
605
607
public init (
@@ -626,12 +628,14 @@ public enum Components {
626
628
public struct ErrorBadRequest : Sendable , Equatable , Hashable {
627
629
/// - Remark: Generated from `#/components/responses/ErrorBadRequest/headers`.
628
630
public struct Headers : Sendable , Equatable , Hashable {
631
+ /// A description here.
632
+ ///
629
633
/// - Remark: Generated from `#/components/responses/ErrorBadRequest/headers/X-Reason`.
630
634
public var X_hyphen_Reason : Swift . String ?
631
635
/// Creates a new `Headers`.
632
636
///
633
637
/// - Parameters:
634
- /// - X_hyphen_Reason:
638
+ /// - X_hyphen_Reason: A description here.
635
639
public init ( X_hyphen_Reason: Swift . String ? = nil ) {
636
640
self . X_hyphen_Reason = X_hyphen_Reason
637
641
}
@@ -672,6 +676,8 @@ public enum Components {
672
676
}
673
677
/// Types generated from the `#/components/headers` section of the OpenAPI document.
674
678
public enum Headers {
679
+ /// A description here.
680
+ ///
675
681
/// - Remark: Generated from `#/components/headers/TracingHeader`.
676
682
public typealias TracingHeader = Swift . String
677
683
}
@@ -696,6 +702,8 @@ public enum Operations {
696
702
public var path : Operations . listPets . Input . Path
697
703
/// - Remark: Generated from `#/paths/pets/GET/query`.
698
704
public struct Query : Sendable , Equatable , Hashable {
705
+ /// How many items to return at one time (max 100)
706
+ ///
699
707
/// - Remark: Generated from `#/paths/pets/GET/query/limit`.
700
708
public var limit : Swift . Int32 ?
701
709
/// - Remark: Generated from `#/paths/pets/GET/query/habitat`.
@@ -724,15 +732,17 @@ public enum Operations {
724
732
. feedsPayloadPayload ]
725
733
/// - Remark: Generated from `#/paths/pets/GET/query/feeds`.
726
734
public var feeds : Operations . listPets . Input . Query . feedsPayload ?
735
+ /// Supply this parameter to filter pets born since the provided date.
736
+ ///
727
737
/// - Remark: Generated from `#/paths/pets/GET/query/since`.
728
738
public var since : Components . Parameters . query_period_born_hyphen_since ?
729
739
/// Creates a new `Query`.
730
740
///
731
741
/// - Parameters:
732
- /// - limit:
742
+ /// - limit: How many items to return at one time (max 100)
733
743
/// - habitat:
734
744
/// - feeds:
735
- /// - since:
745
+ /// - since: Supply this parameter to filter pets born since the provided date.
736
746
public init (
737
747
limit: Swift . Int32 ? = nil ,
738
748
habitat: Operations . listPets . Input . Query . habitatPayload ? = nil ,
@@ -748,12 +758,14 @@ public enum Operations {
748
758
public var query : Operations . listPets . Input . Query
749
759
/// - Remark: Generated from `#/paths/pets/GET/header`.
750
760
public struct Headers : Sendable , Equatable , Hashable {
761
+ /// Request identifier
762
+ ///
751
763
/// - Remark: Generated from `#/paths/pets/GET/header/My-Request-UUID`.
752
764
public var My_hyphen_Request_hyphen_UUID : Swift . String ?
753
765
/// Creates a new `Headers`.
754
766
///
755
767
/// - Parameters:
756
- /// - My_hyphen_Request_hyphen_UUID:
768
+ /// - My_hyphen_Request_hyphen_UUID: Request identifier
757
769
public init ( My_hyphen_Request_hyphen_UUID: Swift . String ? = nil ) {
758
770
self . My_hyphen_Request_hyphen_UUID = My_hyphen_Request_hyphen_UUID
759
771
}
@@ -794,15 +806,19 @@ public enum Operations {
794
806
public struct Ok : Sendable , Equatable , Hashable {
795
807
/// - Remark: Generated from `#/paths/pets/GET/responses/200/headers`.
796
808
public struct Headers : Sendable , Equatable , Hashable {
809
+ /// Response identifier
810
+ ///
797
811
/// - Remark: Generated from `#/paths/pets/GET/responses/200/headers/My-Response-UUID`.
798
812
public var My_hyphen_Response_hyphen_UUID : Swift . String
813
+ /// A description here.
814
+ ///
799
815
/// - Remark: Generated from `#/paths/pets/GET/responses/200/headers/My-Tracing-Header`.
800
816
public var My_hyphen_Tracing_hyphen_Header : Components . Headers . TracingHeader ?
801
817
/// Creates a new `Headers`.
802
818
///
803
819
/// - Parameters:
804
- /// - My_hyphen_Response_hyphen_UUID:
805
- /// - My_hyphen_Tracing_hyphen_Header:
820
+ /// - My_hyphen_Response_hyphen_UUID: Response identifier
821
+ /// - My_hyphen_Tracing_hyphen_Header: A description here.
806
822
public init (
807
823
My_hyphen_Response_hyphen_UUID: Swift . String ,
808
824
My_hyphen_Tracing_hyphen_Header: Components . Headers . TracingHeader ? = nil
@@ -896,12 +912,14 @@ public enum Operations {
896
912
public var query : Operations . createPet . Input . Query
897
913
/// - Remark: Generated from `#/paths/pets/POST/header`.
898
914
public struct Headers : Sendable , Equatable , Hashable {
915
+ /// A description here.
916
+ ///
899
917
/// - Remark: Generated from `#/paths/pets/POST/header/X-Extra-Arguments`.
900
918
public var X_hyphen_Extra_hyphen_Arguments : Components . Schemas . CodeError ?
901
919
/// Creates a new `Headers`.
902
920
///
903
921
/// - Parameters:
904
- /// - X_hyphen_Extra_hyphen_Arguments:
922
+ /// - X_hyphen_Extra_hyphen_Arguments: A description here.
905
923
public init ( X_hyphen_Extra_hyphen_Arguments: Components . Schemas . CodeError ? = nil ) {
906
924
self . X_hyphen_Extra_hyphen_Arguments = X_hyphen_Extra_hyphen_Arguments
907
925
}
@@ -945,12 +963,14 @@ public enum Operations {
945
963
public struct Created : Sendable , Equatable , Hashable {
946
964
/// - Remark: Generated from `#/paths/pets/POST/responses/201/headers`.
947
965
public struct Headers : Sendable , Equatable , Hashable {
966
+ /// A description here.
967
+ ///
948
968
/// - Remark: Generated from `#/paths/pets/POST/responses/201/headers/X-Extra-Arguments`.
949
969
public var X_hyphen_Extra_hyphen_Arguments : Components . Schemas . CodeError ?
950
970
/// Creates a new `Headers`.
951
971
///
952
972
/// - Parameters:
953
- /// - X_hyphen_Extra_hyphen_Arguments:
973
+ /// - X_hyphen_Extra_hyphen_Arguments: A description here.
954
974
public init (
955
975
X_hyphen_Extra_hyphen_Arguments: Components . Schemas . CodeError ? = nil
956
976
) { self . X_hyphen_Extra_hyphen_Arguments = X_hyphen_Extra_hyphen_Arguments }
@@ -1294,12 +1314,14 @@ public enum Operations {
1294
1314
public struct Input : Sendable , Equatable , Hashable {
1295
1315
/// - Remark: Generated from `#/paths/pets/{petId}/PATCH/path`.
1296
1316
public struct Path : Sendable , Equatable , Hashable {
1317
+ /// Id of the pet
1318
+ ///
1297
1319
/// - Remark: Generated from `#/paths/pets/{petId}/PATCH/path/petId`.
1298
1320
public var petId : Swift . Int64
1299
1321
/// Creates a new `Path`.
1300
1322
///
1301
1323
/// - Parameters:
1302
- /// - petId:
1324
+ /// - petId: Id of the pet
1303
1325
public init ( petId: Swift . Int64 ) { self . petId = petId }
1304
1326
}
1305
1327
public var path : Operations . updatePet . Input . Path
@@ -1436,12 +1458,14 @@ public enum Operations {
1436
1458
public struct Input : Sendable , Equatable , Hashable {
1437
1459
/// - Remark: Generated from `#/paths/pets/{petId}/avatar/PUT/path`.
1438
1460
public struct Path : Sendable , Equatable , Hashable {
1461
+ /// The id of the pet to retrieve
1462
+ ///
1439
1463
/// - Remark: Generated from `#/paths/pets/{petId}/avatar/PUT/path/petId`.
1440
1464
public var petId : Components . Parameters . path_period_petId
1441
1465
/// Creates a new `Path`.
1442
1466
///
1443
1467
/// - Parameters:
1444
- /// - petId:
1468
+ /// - petId: The id of the pet to retrieve
1445
1469
public init ( petId: Components . Parameters . path_period_petId ) { self . petId = petId }
1446
1470
}
1447
1471
public var path : Operations . uploadAvatarForPet . Input . Path
0 commit comments