Skip to content

Commit

Permalink
feat(open-payments): use updated RS spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurapov committed Oct 21, 2022
1 parent 120dcae commit 43335f6
Show file tree
Hide file tree
Showing 3 changed files with 189 additions and 63 deletions.
2 changes: 1 addition & 1 deletion packages/open-payments/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
OPEN_PAYMENTS_OPEN_API_URL:
'https://raw.githubusercontent.com/interledger/open-payments/4c873dba89164decffbe84905d12f1d4ec045389/open-api-spec.yaml',
'https://raw.githubusercontent.com/interledger/open-payments/7bb2e6a03d7dfe7ecb0553afb6c70741317bb489/openapi/RS/openapi.yaml',
DEFAULT_REQUEST_TIMEOUT: 3_000
}
247 changes: 186 additions & 61 deletions packages/open-payments/src/generated/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/open-payments/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { components } from './generated/types'

export type IncomingPayment = components['schemas']['incoming-payment']
export type IncomingPayment =
components['schemas']['incoming-payment-with-connection']
export type ILPStreamConnection = components['schemas']['ilp-stream-connection']

0 comments on commit 43335f6

Please sign in to comment.