rafiki icon indicating copy to clipboard operation
rafiki copied to clipboard

Document the integration between Rafiki, OpenAPI Spec & openpayments.guide

Open AlexLakatos opened this issue 3 years ago • 2 comments

AlexLakatos avatar Aug 23 '22 12:08 AlexLakatos

When a PR to change the spec is merged into the open-payments repo, the changes show up on openpayments.guide automatically (done via github actions). To update the OpenAPI spec validator within Rafiki, update the link to the spec file in packages/backend/src/config/app.ts. Make sure to use the url with the commit hash and not main. You will then need to go and change the code in packages/backend/src/open_payments to reflect the spec changes.

sabineschaller avatar Aug 25 '22 13:08 sabineschaller

Same goes for the auth package.

sabineschaller avatar Aug 25 '22 13:08 sabineschaller