Skip to content

fix(cli): respect null examples when generating OpenAPI -> IR #2065

fix(cli): respect null examples when generating OpenAPI -> IR

fix(cli): respect null examples when generating OpenAPI -> IR #2065

Workflow file for this run

name: fern
on:
pull_request:
paths:
- "fern/**"
branches:
- main
jobs:
check-definitions:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install
uses: ./.github/actions/install
- name: Check API definition is valid
env:
FORCE_COLOR: "2"
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }}
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_PROJECT_API_KEY }}
run: |
pnpm --filter @fern-api/cli dist:cli:prod
cli_path="$(pwd)/packages/cli/cli/dist/prod/cli.cjs"
node $cli_path check