fix(cli): Handle OpenAPI type arrays better #3624
Workflow file for this run
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
name: Validate Changelog | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate-fern-cli: | |
name: Fern CLI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo at current ref | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Validate changelog | |
run: | | |
pnpm seed:local validate cli --log-level debug | |
validate-generators: | |
strategy: | |
matrix: | |
generator: [ | |
fastapi, | |
pydantic, | |
python-sdk, | |
go-sdk, | |
ruby-sdk, | |
postman, | |
openapi, | |
java-sdk, | |
java-model, | |
java-spring, | |
ts-express, | |
csharp-sdk, | |
csharp-model | |
php-sdk, | |
php-model | |
] | |
name: ${{ matrix.generator }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo at current ref | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Validate changelog | |
run: | | |
pnpm seed:local validate generator ${{ matrix.generator }} --log-level debug |