Skip to content

Update OpenAPI schemas #117

Update OpenAPI schemas

Update OpenAPI schemas #117

name: Publish OpenAPI definitions to ReadMe
on:
push:
branches:
- main
paths:
- '*-api/**.json'
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Sync Public API definition
uses: readmeio/rdme@v10
with:
rdme: openapi upload core-api/core-api.json --key=${{ secrets.README_API_KEY }}
- name: Sync Channel API definition
uses: readmeio/rdme@v10
with:
rdme: openapi upload channel-api/channel-api.json --key=${{ secrets.README_API_KEY }}