This repo contains a github action taht fect the download url of the latest released Formance OpenAPI specification.
- name: Fetch Formance OpenAPI specification
id: fetch
uses: formancehq/action-sdks@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Use the OpenAPI specification
run: |
echo "The OpenAPI specification is at ${{ steps.fetch.outputs.openapi_spec_url }}"
Required The GitHub token to use to fetch the OpenAPI specification.
The GitHub organization to fetch the OpenAPI specification from. Defaults to
formancehq
.
The GitHub repository to fetch the OpenAPI specification from. Defaults to
stack
.
The URL of the OpenAPI specification.