forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into Fix-export-types-…
…for-TypescriptClient-(OpenAPITools#6805)
- Loading branch information
Showing
2,922 changed files
with
145,146 additions
and
50,707 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 was deleted.
Oops, something went wrong.
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,44 @@ | ||
name: Samples Swift 5 | ||
|
||
on: | ||
push: | ||
paths: | ||
- samples/client/petstore/swift5/** | ||
pull_request: | ||
paths: | ||
- samples/client/petstore/swift5/** | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-latest] | ||
sample: | ||
- samples/client/petstore/swift5/alamofireLibrary | ||
- samples/client/petstore/swift5/asyncAwaitLibrary | ||
- samples/client/petstore/swift5/combineLibrary | ||
- samples/client/petstore/swift5/default | ||
- samples/client/petstore/swift5/objcCompatible | ||
- samples/client/petstore/swift5/oneOf | ||
- samples/client/petstore/swift5/promisekitLibrary | ||
- samples/client/petstore/swift5/resultLibrary | ||
- samples/client/petstore/swift5/rxswiftLibrary | ||
- samples/client/petstore/swift5/urlsessionLibrary | ||
- samples/client/petstore/swift5/validation | ||
# NOTE: disabled as vaporLibrary doesnt build when adding this CI config | ||
#- samples/client/petstore/swift5/vaporLibrary | ||
include: | ||
- os: ubuntu-latest | ||
sample: samples/client/petstore/swift5/alamofireLibrary | ||
name: Build Swift samples | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: swift-actions/setup-swift@v2 | ||
if: ${{ matrix.os == 'ubuntu-latest' }} | ||
with: | ||
swift-version: '5' | ||
- name: Build | ||
working-directory: ${{ matrix.sample }} | ||
run: swift build |
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,37 @@ | ||
name: TypeScript Client (Encoding / Decoding Test) | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- samples/client/others/typescript/encode-decode/** | ||
- .github/workflows/samples-typescript-encode-decode.yaml | ||
jobs: | ||
build: | ||
name: Test TypeScript Encoding / Decoding | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sample: | ||
# clients | ||
- samples/client/others/typescript/encode-decode/test | ||
node-version: | ||
- 16 | ||
- 18 | ||
- 20 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install | ||
working-directory: ${{ matrix.sample }} | ||
run: | | ||
npm run preinstall | ||
npm i | ||
- name: Test | ||
working-directory: ${{ matrix.sample }} | ||
run: npm test |
37 changes: 37 additions & 0 deletions
37
.github/workflows/samples-typescript-node-encode-decode.yaml
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,37 @@ | ||
name: TypeScript Node Client (Encoding / Decoding Test) | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- samples/client/others/typescript-node/encode-decode/** | ||
- .github/workflows/samples-typescript-node-encode-decode.yaml | ||
jobs: | ||
build: | ||
name: Test TypeScript Node Encoding / Decoding | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sample: | ||
# clients | ||
- samples/client/others/typescript-node/encode-decode/test | ||
node-version: | ||
- 16 | ||
- 18 | ||
- 20 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install | ||
working-directory: ${{ matrix.sample }} | ||
run: | | ||
npm run preinstall | ||
npm i | ||
- name: Test | ||
working-directory: ${{ matrix.sample }} | ||
run: npm test |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.