You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
RapidAPI OpenAPI
v1
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/"