GitHub Action
RapidAPI OpenAPI
v1.3.5
Latest version
This action updates the OpenAPI documentation of an API that is hosted by RapidAPI using their OpenAPI Provisioning API
Optional Your RapidAPI API Key.
Optional Your RapidAPI API ID.
Optional The OpenAPI file you want to upload. Default "openapi.json"
.
Optional You can provide a default server url. Default ""
.
name: Update OpenAPI RapidAPI documentation
on:
schedule:
# https://crontab.guru/every-night-at-midnight
- cron: "0 0 * * *"
jobs:
update-rapidapi-openapi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: RapidAPI OpenAPI
uses: vvatelot/[email protected]
with:
rapidapi-api-key: ${{ secrets.RAPIDAPI_API_KEY }}
rapidapi_api_id: ${{ secrets.RAPIDAPI_API_ID }}
openapi_file: "my-openapi.json"
default-url-server: "https://my.api.com:8001/"