Skip to content

Commit

Permalink
Test AS Spec
Browse files Browse the repository at this point in the history
  • Loading branch information
raducristianpopa committed Aug 23, 2024
1 parent 3ec973e commit 8b42626
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions openapi/auth-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -512,22 +512,30 @@ components:
limits-outgoing:
title: limits-outgoing
description: Open Payments specific property that defines the limits under which outgoing payments can be created.
type: object
properties:
receiver:
$ref: ./schemas.yaml#/components/schemas/receiver
interval:
$ref: '#/components/schemas/interval'
oneOf:
anyOf:
- type: object
properties:
receiver:
$ref: ./schemas.yaml#/components/schemas/receiver
interval:
$ref: '#/components/schemas/interval'
- type: object
properties:
receiver:
$ref: ./schemas.yaml#/components/schemas/receiver
interval:
$ref: '#/components/schemas/interval'
debitAmount:
description: 'All amounts are maxima, i.e. multiple payments can be created under a grant as long as the total amounts of these payments do not exceed the maximum amount per interval as specified in the grant.'
$ref: ./schemas.yaml#/components/schemas/amount
required:
- debitAmount
- type: object
properties:
receiver:
$ref: ./schemas.yaml#/components/schemas/receiver
interval:
$ref: '#/components/schemas/interval'
receiveAmount:
description: 'All amounts are maxima, i.e. multiple payments can be created under a grant as long as the total amounts of these payments do not exceed the maximum amount per interval as specified in the grant.'
$ref: ./schemas.yaml#/components/schemas/amount
Expand Down

0 comments on commit 8b42626

Please sign in to comment.