Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ on:
paths:
- 'website/**'
- '.github/workflows/docs.yml'
- 'pnpm-lock.yaml'
- 'pnpm-workspace.yaml'
- 'stackblitz/petstore.openapi.yaml'
pull_request:
paths:
- 'website/**'
- '.github/workflows/docs.yml'
- 'pnpm-lock.yaml'
- 'pnpm-workspace.yaml'
- 'stackblitz/petstore.openapi.yaml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -33,13 +39,22 @@ jobs:
with:
node-version: 22
cache: pnpm
cache-dependency-path: website/pnpm-lock.yaml
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
working-directory: website
run: pnpm install --frozen-lockfile
- name: Build site
working-directory: website
run: pnpm build
- name: Type-check
working-directory: website
run: pnpm check
- name: Install Playwright browser
working-directory: website
run: pnpm exec playwright install --with-deps chromium
- name: Test
working-directory: website
run: pnpm test
- name: Deploy to production
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: cloudflare/wrangler-action@v3
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,8 @@ tmp/

*.bak

website/public/playground-engine/
website/test-results/
website/playwright-report/

stackblitz/.angular/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Generate TypeScript models and Angular services from OpenAPI 3.x specs — fast, deterministic, Rust-powered.

Try it without installing anything: [playground](https://docs.openapi-ng.dev/playground/) (paste a spec, see the output) · [StackBlitz demo](https://stackblitz.com/github/AVSystem/openapi-ng/tree/main/stackblitz) (generated client used in an Angular app).

**[Documentation →](https://docs.openapi-ng.dev)** · [Getting started](https://docs.openapi-ng.dev/getting-started/) · [Angular guide](https://docs.openapi-ng.dev/guides/angular/) · [Node API](https://docs.openapi-ng.dev/reference/node-api/) · [Diagnostics](https://docs.openapi-ng.dev/reference/diagnostics/)

## Why openapi-ng
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@
]
},
"ava": {
"files": [
"__test__/**/*.spec.ts"
],
"environmentVariables": {
"TS_NODE_PROJECT": "./tsconfig.json"
},
Expand Down
Loading
Loading