RHINENG-21214: update the new tables in storeOrUpdateSysPlatform #137
This file contains hidden or 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: OpenAPIv3 | |
| on: | |
| push: | |
| pull_request: | |
| types: [ "opened", "synchronize", "reopened" ] | |
| jobs: | |
| spec_validation: | |
| name: Spec validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - 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 | |
| runs-on: ubuntu-latest | |
| env: | |
| working-directory: ./docs | |
| needs: [spec_validation] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - 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@v4 | |
| with: | |
| name: Python-Client | |
| path: ${{env.working-directory}}/client |