interledger / open-payments

Protocol to setup payments between entities on the Web based on GNAP

Home Page:https://openpayments.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export functions that allow fetching the Open Payments OpenAPI objects in the Open Payments client

mkurapov opened this issue · comments

Context

Since we pack and ship the yaml files directly with the open-payments package, we should have functionality that exports out the OpenAPI objects generated from the Open Payments OpenAPI yaml specs.

  • This is primarily to aid with interledger/rafiki#1562, as this will enable backend auth packages in Rafiki to call functions, and use the OpenAPI validation functions for the Open Payment specs without needing to store the yaml spec files locally.

Todos

  • Export functions allowing use of OpenAPI objects directly