Updating OpenAPI Specification for release 4.5.3 #33
Workflow file for this run
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: Publish OpenAPI Spec to Postman | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| publish-specification: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup | Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup | Python | |
| uses: actions/setup-python@v5 | |
| - name: Setup | Pip Dependencies | |
| run: | | |
| pip install -r scripts/postman-publisher/requirements.txt | |
| - name: Build | Publish OpenAPI Specification to Postman | |
| env: | |
| POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }} | |
| OPENAPI_SPEC_PATH: public-api.yaml | |
| WORKSPACE_NAME: MOSTLY AI API Reference | |
| run: | | |
| python scripts/postman-publisher/main.py |