-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/swift6' of https://github.com/4brunu/openapi-ge…
…nerator into 4brunu-feature/swift6
- Loading branch information
Showing
2,271 changed files
with
167,041 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/alamofireLibrary | ||
library: alamofire | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
useCustomDateWithoutTime: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/anycodableLibrary | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/any_codable.yaml | ||
modelNamePrefix: Prefix | ||
modelNameSuffix: Suffix | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/apiNonStaticMethod | ||
library: alamofire | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
additionalProperties: | ||
responseAs: AsyncAwait,Combine,Result,PromiseKit,RxSwift | ||
apiStaticMethod: false | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/asyncAwaitLibrary | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
responseAs: AsyncAwait | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/combineDeferredLibrary | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
responseAs: Combine | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/combineLibrary | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
responseAs: Combine | ||
combineDeferred: false | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/default | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator | ||
enumNameMappings: | ||
delivered: shipped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/deprecated | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-deprecated-fields.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/frozenEnums | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
sortParamsByRequiredFlag: false | ||
enumUnknownDefaultCase: true | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/nonPublicApi | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
sortParamsByRequiredFlag: false | ||
nonPublicApi: true | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator | ||
nameMappings: | ||
_type: underscoreType | ||
type_: typeWithUnderscore | ||
-type: dashType | ||
parameterNameMappings: | ||
_type: underscoreType | ||
type_: typeWithUnderscore | ||
-type: dashType | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/objcCompatible | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
objcCompatible: true | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/oneOf | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/promisekitLibrary | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
responseAs: PromiseKit | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/readonlyProperties | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
readonlyProperties: true | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/resultLibrary | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
responseAs: Result | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/rxswiftLibrary | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
responseAs: RxSwift | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator | ||
useBacktickEscapes: true | ||
generateModelAdditionalProperties: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/urlsessionLibrary | ||
library: urlsession | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator | ||
useSPMFileStructure: true | ||
useClasses: true | ||
swiftUseApiNamespace: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/validation | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/validation.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/vaporLibrary | ||
library: vapor | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
projectName: PetstoreClient | ||
useSPMFileStructure: true | ||
useClasses: true | ||
useBacktickEscapes: true | ||
mapFileBinaryToData: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: swift6 | ||
outputDir: samples/client/petstore/swift6/x-swift-hashable | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/swift6 | ||
generateAliasAsModel: true | ||
additionalProperties: | ||
podAuthors: "" | ||
podSummary: PetstoreClient | ||
projectName: PetstoreClient | ||
podHomepage: https://github.com/openapitools/openapi-generator | ||
hashableModels: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,15 @@ workflows: | |
#!/usr/bin/env bash | ||
sudo gem install cocoapods | ||
- [email protected]: | ||
title: Run Swift6 tests | ||
inputs: | ||
- content: | | ||
#!/usr/bin/env bash | ||
set -e | ||
./samples/client/petstore/swift6/swift6_test_all.sh | ||
- [email protected]: | ||
title: Run Swift5 tests | ||
inputs: | ||
|
@@ -39,4 +48,4 @@ workflows: | |
meta: | ||
bitrise.io: | ||
stack: osx-xcode-14.3.x-ventura | ||
stack: osx-xcode-16.0.x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.