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 82c3e38
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 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:
- 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 82c3e38

Please sign in to comment.