You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@available(*, deprecated, message: "{{#isDeprecated}}This operation is deprecated. | {{/isDeprecated}}We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
97
+
@available(*, deprecated, message: "{{#isDeprecated}}This operation is deprecated. | {{/isDeprecated}}NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
let deferred = Promise<{{{returnType}}}{{#returnType}}{{#isResponseOptional}}?{{/isResponseOptional}}{{/returnType}}{{^returnType}}Void{{/returnType}}>.pending()
100
100
{{operationId}}WithRequestBuilder({{#allParams}}{{paramName}}: {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}{{#apiStaticMethod}}{{#hasParams}}, {{/hasParams}}apiConfiguration: apiConfiguration{{/apiStaticMethod}}).execute { result in
Copy file name to clipboardExpand all lines: samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/APIs/AnotherFakeAPI.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ open class AnotherFakeAPI {
42
42
- parameter body: (body) client model
43
43
- returns: Promise<Client>
44
44
*/
45
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
45
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
Copy file name to clipboardExpand all lines: samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/APIs/FakeAPI.swift
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ open class FakeAPI {
40
40
- parameter body: (body) Input boolean as post body (optional)
41
41
- returns: Promise<Bool>
42
42
*/
43
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
43
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
fakeOuterBooleanSerializeWithRequestBuilder(body: body).execute{ result in
@@ -180,7 +180,7 @@ open class FakeAPI {
180
180
- parameter body: (body) Input composite as post body (optional)
181
181
- returns: Promise<OuterComposite>
182
182
*/
183
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
183
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
fakeOuterCompositeSerializeWithRequestBuilder(body: body).execute{ result in
@@ -320,7 +320,7 @@ open class FakeAPI {
320
320
- parameter body: (body) Input number as post body (optional)
321
321
- returns: Promise<Double>
322
322
*/
323
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
323
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
fakeOuterNumberSerializeWithRequestBuilder(body: body).execute{ result in
@@ -460,7 +460,7 @@ open class FakeAPI {
460
460
- parameter body: (body) Input string as post body (optional)
461
461
- returns: Promise<String>
462
462
*/
463
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
463
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
fakeOuterStringSerializeWithRequestBuilder(body: body).execute{ result in
@@ -600,7 +600,7 @@ open class FakeAPI {
600
600
- parameter body: (body)
601
601
- returns: Promise<Void>
602
602
*/
603
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
603
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
testBodyWithFileSchemaWithRequestBuilder(body: body).execute{ result in
@@ -742,7 +742,7 @@ open class FakeAPI {
742
742
- parameter body: (body)
743
743
- returns: Promise<Void>
744
744
*/
745
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
745
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
testBodyWithQueryParamsWithRequestBuilder(query: query, body: body).execute{ result in
@@ -891,7 +891,7 @@ open class FakeAPI {
891
891
- parameter body: (body) client model
892
892
- returns: Promise<Client>
893
893
*/
894
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
894
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
testClientModelWithRequestBuilder(body: body).execute{ result in
@@ -1064,7 +1064,7 @@ open class FakeAPI {
1064
1064
- parameter callback: (form) None (optional)
1065
1065
- returns: Promise<Void>
1066
1066
*/
1067
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
1067
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
- parameter enumFormString: (form) Form parameter enum test (string) (optional, default to .efg)
1379
1379
- returns: Promise<Void>
1380
1380
*/
1381
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
1381
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
testEnumParametersWithRequestBuilder(enumHeaderStringArray: enumHeaderStringArray, enumHeaderString: enumHeaderString, enumQueryStringArray: enumQueryStringArray, enumQueryString: enumQueryString, enumQueryInteger: enumQueryInteger, enumQueryDouble: enumQueryDouble, enumFormStringArray: enumFormStringArray, enumFormString: enumFormString).execute{ result in
@@ -1584,7 +1584,7 @@ open class FakeAPI {
1584
1584
- parameter int64Group: (query) Integer in group parameters (optional)
1585
1585
- returns: Promise<Void>
1586
1586
*/
1587
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
1587
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
testGroupParametersWithRequestBuilder(requiredStringGroup: requiredStringGroup, requiredBooleanGroup: requiredBooleanGroup, requiredInt64Group: requiredInt64Group, stringGroup: stringGroup, booleanGroup: booleanGroup, int64Group: int64Group).execute{ result in
@@ -1763,7 +1763,7 @@ open class FakeAPI {
1763
1763
- parameter param: (body) request body
1764
1764
- returns: Promise<Void>
1765
1765
*/
1766
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
1766
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
testInlineAdditionalPropertiesWithRequestBuilder(param: param).execute{ result in
@@ -1911,7 +1911,7 @@ open class FakeAPI {
1911
1911
- parameter param2: (form) field2
1912
1912
- returns: Promise<Void>
1913
1913
*/
1914
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
1914
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
Copy file name to clipboardExpand all lines: samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/APIs/FakeClassnameTags123API.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ open class FakeClassnameTags123API {
42
42
- parameter body: (body) client model
43
43
- returns: Promise<Client>
44
44
*/
45
-
@available(*, deprecated, message:"We are considering deprecating PromiseKit support in the Swift 6 generator. Feedback: https://github.com/OpenAPITools/openapi-generator/issues/22791")
45
+
@available(*, deprecated, message:"NOTICE: We are considering deprecating PromiseKit support in the Swift 6 generator. If you are still using it, please share your use case here: https://github.com/OpenAPITools/openapi-generator/issues/22791")
0 commit comments