@@ -17,13 +17,13 @@ open class FakeAPI {
1717 */
1818 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
1919 open class func fakeOuterBooleanSerialize( body: Bool ? = nil , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < Bool , Error > {
20- return Future < Bool , Error > . init { promisse in
20+ return Future < Bool , Error > . init { promise in
2121 fakeOuterBooleanSerializeWithRequestBuilder ( body: body) . execute ( apiResponseQueue) { result -> Void in
2222 switch result {
2323 case let . success( response) :
24- promisse ( . success( response. body!) )
24+ promise ( . success( response. body!) )
2525 case let . failure( error) :
26- promisse ( . failure( error) )
26+ promise ( . failure( error) )
2727 }
2828 }
2929 } . eraseToAnyPublisher ( )
@@ -55,13 +55,13 @@ open class FakeAPI {
5555 */
5656 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
5757 open class func fakeOuterCompositeSerialize( body: OuterComposite ? = nil , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < OuterComposite , Error > {
58- return Future < OuterComposite , Error > . init { promisse in
58+ return Future < OuterComposite , Error > . init { promise in
5959 fakeOuterCompositeSerializeWithRequestBuilder ( body: body) . execute ( apiResponseQueue) { result -> Void in
6060 switch result {
6161 case let . success( response) :
62- promisse ( . success( response. body!) )
62+ promise ( . success( response. body!) )
6363 case let . failure( error) :
64- promisse ( . failure( error) )
64+ promise ( . failure( error) )
6565 }
6666 }
6767 } . eraseToAnyPublisher ( )
@@ -93,13 +93,13 @@ open class FakeAPI {
9393 */
9494 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
9595 open class func fakeOuterNumberSerialize( body: Double ? = nil , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < Double , Error > {
96- return Future < Double , Error > . init { promisse in
96+ return Future < Double , Error > . init { promise in
9797 fakeOuterNumberSerializeWithRequestBuilder ( body: body) . execute ( apiResponseQueue) { result -> Void in
9898 switch result {
9999 case let . success( response) :
100- promisse ( . success( response. body!) )
100+ promise ( . success( response. body!) )
101101 case let . failure( error) :
102- promisse ( . failure( error) )
102+ promise ( . failure( error) )
103103 }
104104 }
105105 } . eraseToAnyPublisher ( )
@@ -131,13 +131,13 @@ open class FakeAPI {
131131 */
132132 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
133133 open class func fakeOuterStringSerialize( body: String ? = nil , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < String , Error > {
134- return Future < String , Error > . init { promisse in
134+ return Future < String , Error > . init { promise in
135135 fakeOuterStringSerializeWithRequestBuilder ( body: body) . execute ( apiResponseQueue) { result -> Void in
136136 switch result {
137137 case let . success( response) :
138- promisse ( . success( response. body!) )
138+ promise ( . success( response. body!) )
139139 case let . failure( error) :
140- promisse ( . failure( error) )
140+ promise ( . failure( error) )
141141 }
142142 }
143143 } . eraseToAnyPublisher ( )
@@ -169,13 +169,13 @@ open class FakeAPI {
169169 */
170170 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
171171 open class func testBodyWithFileSchema( body: FileSchemaTestClass , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < Void , Error > {
172- return Future < Void , Error > . init { promisse in
172+ return Future < Void , Error > . init { promise in
173173 testBodyWithFileSchemaWithRequestBuilder ( body: body) . execute ( apiResponseQueue) { result -> Void in
174174 switch result {
175175 case . success:
176- promisse ( . success( ( ) ) )
176+ promise ( . success( ( ) ) )
177177 case let . failure( error) :
178- promisse ( . failure( error) )
178+ promise ( . failure( error) )
179179 }
180180 }
181181 } . eraseToAnyPublisher ( )
@@ -208,13 +208,13 @@ open class FakeAPI {
208208 */
209209 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
210210 open class func testBodyWithQueryParams( query: String , body: User , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < Void , Error > {
211- return Future < Void , Error > . init { promisse in
211+ return Future < Void , Error > . init { promise in
212212 testBodyWithQueryParamsWithRequestBuilder ( query: query, body: body) . execute ( apiResponseQueue) { result -> Void in
213213 switch result {
214214 case . success:
215- promisse ( . success( ( ) ) )
215+ promise ( . success( ( ) ) )
216216 case let . failure( error) :
217- promisse ( . failure( error) )
217+ promise ( . failure( error) )
218218 }
219219 }
220220 } . eraseToAnyPublisher ( )
@@ -250,13 +250,13 @@ open class FakeAPI {
250250 */
251251 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
252252 open class func testClientModel( body: Client , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < Client , Error > {
253- return Future < Client , Error > . init { promisse in
253+ return Future < Client , Error > . init { promise in
254254 testClientModelWithRequestBuilder ( body: body) . execute ( apiResponseQueue) { result -> Void in
255255 switch result {
256256 case let . success( response) :
257- promisse ( . success( response. body!) )
257+ promise ( . success( response. body!) )
258258 case let . failure( error) :
259- promisse ( . failure( error) )
259+ promise ( . failure( error) )
260260 }
261261 }
262262 } . eraseToAnyPublisher ( )
@@ -303,13 +303,13 @@ open class FakeAPI {
303303 */
304304 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
305305 open class func testEndpointParameters( number: Double , double: Double , patternWithoutDelimiter: String , byte: Data , integer: Int ? = nil , int32: Int ? = nil , int64: Int64 ? = nil , float: Float ? = nil , string: String ? = nil , binary: URL ? = nil , date: Date ? = nil , dateTime: Date ? = nil , password: String ? = nil , callback: String ? = nil , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < Void , Error > {
306- return Future < Void , Error > . init { promisse in
306+ return Future < Void , Error > . init { promise in
307307 testEndpointParametersWithRequestBuilder ( number: number, double: double, patternWithoutDelimiter: patternWithoutDelimiter, byte: byte, integer: integer, int32: int32, int64: int64, float: float, string: string, binary: binary, date: date, dateTime: dateTime, password: password, callback: callback) . execute ( apiResponseQueue) { result -> Void in
308308 switch result {
309309 case . success:
310- promisse ( . success( ( ) ) )
310+ promise ( . success( ( ) ) )
311311 case let . failure( error) :
312- promisse ( . failure( error) )
312+ promise ( . failure( error) )
313313 }
314314 }
315315 } . eraseToAnyPublisher ( )
@@ -451,13 +451,13 @@ open class FakeAPI {
451451 */
452452 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
453453 open class func testEnumParameters( enumHeaderStringArray: [ String ] ? = nil , enumHeaderString: EnumHeaderString_testEnumParameters ? = nil , enumQueryStringArray: [ String ] ? = nil , enumQueryString: EnumQueryString_testEnumParameters ? = nil , enumQueryInteger: EnumQueryInteger_testEnumParameters ? = nil , enumQueryDouble: EnumQueryDouble_testEnumParameters ? = nil , enumFormStringArray: [ String ] ? = nil , enumFormString: EnumFormString_testEnumParameters ? = nil , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < Void , Error > {
454- return Future < Void , Error > . init { promisse in
454+ return Future < Void , Error > . init { promise in
455455 testEnumParametersWithRequestBuilder ( enumHeaderStringArray: enumHeaderStringArray, enumHeaderString: enumHeaderString, enumQueryStringArray: enumQueryStringArray, enumQueryString: enumQueryString, enumQueryInteger: enumQueryInteger, enumQueryDouble: enumQueryDouble, enumFormStringArray: enumFormStringArray, enumFormString: enumFormString) . execute ( apiResponseQueue) { result -> Void in
456456 switch result {
457457 case . success:
458- promisse ( . success( ( ) ) )
458+ promise ( . success( ( ) ) )
459459 case let . failure( error) :
460- promisse ( . failure( error) )
460+ promise ( . failure( error) )
461461 }
462462 }
463463 } . eraseToAnyPublisher ( )
@@ -520,13 +520,13 @@ open class FakeAPI {
520520 */
521521 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
522522 open class func testGroupParameters( requiredStringGroup: Int , requiredBooleanGroup: Bool , requiredInt64Group: Int64 , stringGroup: Int ? = nil , booleanGroup: Bool ? = nil , int64Group: Int64 ? = nil , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < Void , Error > {
523- return Future < Void , Error > . init { promisse in
523+ return Future < Void , Error > . init { promise in
524524 testGroupParametersWithRequestBuilder ( requiredStringGroup: requiredStringGroup, requiredBooleanGroup: requiredBooleanGroup, requiredInt64Group: requiredInt64Group, stringGroup: stringGroup, booleanGroup: booleanGroup, int64Group: int64Group) . execute ( apiResponseQueue) { result -> Void in
525525 switch result {
526526 case . success:
527- promisse ( . success( ( ) ) )
527+ promise ( . success( ( ) ) )
528528 case let . failure( error) :
529- promisse ( . failure( error) )
529+ promise ( . failure( error) )
530530 }
531531 }
532532 } . eraseToAnyPublisher ( )
@@ -576,13 +576,13 @@ open class FakeAPI {
576576 */
577577 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
578578 open class func testInlineAdditionalProperties( param: [ String : String ] , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < Void , Error > {
579- return Future < Void , Error > . init { promisse in
579+ return Future < Void , Error > . init { promise in
580580 testInlineAdditionalPropertiesWithRequestBuilder ( param: param) . execute ( apiResponseQueue) { result -> Void in
581581 switch result {
582582 case . success:
583- promisse ( . success( ( ) ) )
583+ promise ( . success( ( ) ) )
584584 case let . failure( error) :
585- promisse ( . failure( error) )
585+ promise ( . failure( error) )
586586 }
587587 }
588588 } . eraseToAnyPublisher ( )
@@ -616,13 +616,13 @@ open class FakeAPI {
616616 */
617617 @available ( OSX 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
618618 open class func testJsonFormData( param: String , param2: String , apiResponseQueue: DispatchQueue = PetstoreClientAPI . apiResponseQueue) -> AnyPublisher < Void , Error > {
619- return Future < Void , Error > . init { promisse in
619+ return Future < Void , Error > . init { promise in
620620 testJsonFormDataWithRequestBuilder ( param: param, param2: param2) . execute ( apiResponseQueue) { result -> Void in
621621 switch result {
622622 case . success:
623- promisse ( . success( ( ) ) )
623+ promise ( . success( ( ) ) )
624624 case let . failure( error) :
625- promisse ( . failure( error) )
625+ promise ( . failure( error) )
626626 }
627627 }
628628 } . eraseToAnyPublisher ( )
0 commit comments