Skip to content

Commit 9148db2

Browse files
authored
[Swift6][client]Make Swift 6 generator stable (#21846)
* Make Swift 6 generator stable * Make Swift 6 generator stable
1 parent 2cdd9ae commit 9148db2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/faq-generators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ mvn integration-test
9696
### Which Swift generator is still actively maintained?
9797

9898
Please use `swift5` generator because Swift 4.x is deprecated.
99-
There is a new `swift6` generator, that is currently in beta, try it and give us your feedback.
99+
There is a new `swift6` generator, that is now stable, try it and give us your feedback.
100100

101101
### How do I implement bearer token authentication with URLSession on the Swift 5 API client?
102102

docs/generators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The following generators are available:
6868
* [scalaz](generators/scalaz.md)
6969
* [swift-combine](generators/swift-combine.md)
7070
* [swift5](generators/swift5.md)
71-
* [swift6 (beta)](generators/swift6.md)
71+
* [swift6](generators/swift6.md)
7272
* [typescript (experimental)](generators/typescript.md)
7373
* [typescript-angular](generators/typescript-angular.md)
7474
* [typescript-aurelia](generators/typescript-aurelia.md)

docs/generators/swift6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Documentation for the swift6 Generator
77
| Property | Value | Notes |
88
| -------- | ----- | ----- |
99
| generator name | swift6 | pass this to the generate command after -g |
10-
| generator stability | BETA | |
10+
| generator stability | STABLE | |
1111
| generator type | CLIENT | |
1212
| generator language | Swift | |
1313
| generator default templating engine | mustache | |

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/Swift5ClientCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@ public void postProcess() {
13421342
System.out.println("# swift5 generator is contributed by Bruno Coelho (https://github.com/4brunu). #");
13431343
System.out.println("# Please support his work directly via https://paypal.com/paypalme/4brunu \uD83D\uDE4F #");
13441344
System.out.println("# #");
1345-
System.out.println("# There is a new swift6 generator, that is currently in beta. #");
1345+
System.out.println("# There is a new swift6 generator, that is now stable. #");
13461346
System.out.println("# Try it and give us your feedback. #");
13471347
System.out.println("# https://openapi-generator.tech/docs/generators/swift6 #");
13481348
System.out.println("# #");

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/Swift6ClientCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public Swift6ClientCodegen() {
142142
this.useOneOfInterfaces = true;
143143

144144
generatorMetadata = GeneratorMetadata.newBuilder(generatorMetadata)
145-
.stability(Stability.BETA)
145+
.stability(Stability.STABLE)
146146
.build();
147147

148148
outputFolder = "generated-code" + File.separator + "swift";

0 commit comments

Comments
 (0)