mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-26 14:48:06 +01:00
27 lines
587 B
YAML
27 lines
587 B
YAML
|
name: Validate OpenAPI Spec
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ "main" ]
|
||
|
pull_request:
|
||
|
branches: [ "main" ]
|
||
|
|
||
|
jobs:
|
||
|
generate:
|
||
|
runs-on: ubuntu-latest
|
||
|
name: Generate Clients
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- name: Typescript Axios
|
||
|
uses: openapi-generators/openapitools-generator-action@v1
|
||
|
with:
|
||
|
generator: typescript-axios
|
||
|
openapi-file: ./reference/SpaceTraders.json
|
||
|
|
||
|
- name: Dart
|
||
|
uses: openapi-generators/openapitools-generator-action@v1
|
||
|
with:
|
||
|
generator: dart
|
||
|
openapi-file: ./reference/SpaceTraders.json
|