Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(openapi): add base url #308

Merged
merged 7 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions openapi/auth-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ info:
contact:
email: [email protected]
servers:
- url: 'https://openpayments.guide/auth'
- url: 'https://rafiki.money/auth'
tags:
- name: grant
description: Grant operations
Expand Down Expand Up @@ -49,29 +49,29 @@ paths:
Interaction instructions:
value:
interact:
redirect: 'https://openpayments.guide/auth/4CF492MLVMSW9MKMXKHQ'
redirect: 'https://rafiki.money/auth/4CF492MLVMSW9MKMXKHQ'
finish: 4105340a-05eb-4290-8739-f9e2b463bfa7
continue:
access_token:
value: 33OMUKMKSKU80UPRY5NM
uri: 'https://openpayments.guide/auth/continue/4CF492MLVMSW9MKMXKHQ'
uri: 'https://rafiki.money/auth/continue/4CF492MLVMSW9MKMXKHQ'
wait: 30
Grant:
value:
access_token:
value: OS9M2PMHKUR64TB8N6BW7OZB8CDFONP219RP1LT0
manage: 'https://openpayments.guide/auth/token/dd17a202-9982-4ed9-ae31-564947fb6379'
manage: 'https://rafiki.money/auth/token/dd17a202-9982-4ed9-ae31-564947fb6379'
expires_in: 3600
access:
- type: incoming-payment
actions:
- create
- read
identifier: 'https://openpayments.guide/bob'
identifier: 'https://rafiki.money/bob'
continue:
access_token:
value: 33OMUKMKSKU80UPRY5NM
uri: 'https://openpayments.guide/auth/continue/4CF492MLVMSW9MKMXKHQ'
uri: 'https://rafiki.money/auth/continue/4CF492MLVMSW9MKMXKHQ'
'400':
description: Bad Request
'401':
Expand Down Expand Up @@ -108,9 +108,9 @@ paths:
actions:
- create
- read
identifier: 'https://openpayments.guide/alice'
identifier: 'https://rafiki.money/alice'
limits:
receiver: 'https://openpayments.guide/connections/45a0d0ee-26dc-4c66-89e0-01fbf93156f7'
receiver: 'https://rafiki.money/connections/45a0d0ee-26dc-4c66-89e0-01fbf93156f7'
interval: 'R12/2019-08-24T14:15:22Z/P1M'
debitAmount:
value: '500'
Expand All @@ -132,7 +132,7 @@ paths:
actions:
- create
- read
identifier: 'http://openpayments.guide/bob'
identifier: 'http://rafiki.money/bob'
client: 'https://webmonize.com/.well-known/pay'
description: ''
description: Make a new grant request
Expand Down Expand Up @@ -169,16 +169,16 @@ paths:
value:
access_token:
value: OS9M2PMHKUR64TB8N6BW7OZB8CDFONP219RP1LT0
manage: 'https://openpayments.guide/auth/token/dd17a202-9982-4ed9-ae31-564947fb6379'
manage: 'https://rafiki.money/auth/token/dd17a202-9982-4ed9-ae31-564947fb6379'
expires_in: 3600
access:
- type: outgoing-payment
actions:
- create
- read
identifier: 'https://openpayments.guide/alice'
identifier: 'https://rafiki.money/alice'
limits:
receiver: 'https://openpayments.guide/bob/incoming-payments/48884225-b393-4872-90de-1b737e2491c2'
receiver: 'https://rafiki.money/bob/incoming-payments/48884225-b393-4872-90de-1b737e2491c2'
interval: 'R12/2019-08-24T14:15:22Z/P1M'
debitAmount:
value: '500'
Expand All @@ -187,14 +187,14 @@ paths:
continue:
access_token:
value: 33OMUKMKSKU80UPRY5NM
uri: 'https://openpayments.guide/auth/continue/4CF492MLVMSW9MKMXKHQ'
uri: 'https://rafiki.money/auth/continue/4CF492MLVMSW9MKMXKHQ'
wait: 30
Continuing During Pending Interaction:
value:
continue:
access_token:
value: 33OMUKMKSKU80UPRY5NM
uri: 'https://openpayments.guide/auth/continue/4CF492MLVMSW9MKMXKHQ'
uri: 'https://rafiki.money/auth/continue/4CF492MLVMSW9MKMXKHQ'
wait: 30
'400':
description: Bad Request
Expand Down Expand Up @@ -264,17 +264,17 @@ paths:
value:
access_token:
value: OZB8CDFONP219RP1LT0OS9M2PMHKUR64TB8N6BW7
manage: 'https://openpayments.guide/auth/token/8f69de01-5bf9-4603-91ed-eeca101081f1'
manage: 'https://rafiki.money/auth/token/8f69de01-5bf9-4603-91ed-eeca101081f1'
expires_in: 3600
access:
- type: outgoing-payment
actions:
- create
- read
identifier: 'https://openpayments.guide/alice'
identifier: 'https://rafiki.money/alice'
limits:
interval: 'R12/2019-08-24T14:15:22Z/P1M'
receiver: 'https://openpayments.guide/bob/incoming-payments/48884225-b393-4872-90de-1b737e2491c2'
receiver: 'https://rafiki.money/bob/incoming-payments/48884225-b393-4872-90de-1b737e2491c2'
debitAmount:
value: '500'
assetCode: USD
Expand Down
Loading
Loading