Skip to content

Commit

Permalink
check latest openapi spec
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMraka committed Nov 21, 2023
1 parent 9f35e72 commit 1bd61e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/open_api_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Spec validation with OpenAPIv3 (docs/v2/openapi.json)
run: docker run --rm -v ${PWD}/docs:/docs:Z openapitools/openapi-generator-cli:v6.0.1 validate -i /docs/v2/openapi.json
- name: Spec validation with OpenAPIv3 (docs/v3/openapi.json)
run: docker run --rm -v ${PWD}/docs:/docs:Z openapitools/openapi-generator-cli:v6.0.1 validate -i /docs/v3/openapi.json

gen_client:
name: Generate Python Client
Expand All @@ -24,8 +24,8 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Generate Python client with OpenAPIv3 (docs/v2/openapi.json)
run: docker run --rm -v ${PWD}/docs/v2:/local:Z openapitools/openapi-generator-cli:v6.0.1 generate -i /local/openapi.json -g python -o /local/client
- name: Generate Python client with OpenAPIv3 (docs/v3/openapi.json)
run: docker run --rm -v ${PWD}/docs/v3:/local:Z openapitools/openapi-generator-cli:v6.0.1 generate -i /local/openapi.json -g python -o /local/client
- uses: actions/upload-artifact@v2
with:
name: Python-Client
Expand Down

0 comments on commit 1bd61e8

Please sign in to comment.