Skip to content

Commit 3ec973e

Browse files
Test Spec update
1 parent 85c2c2f commit 3ec973e

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

openapi/auth-server.yaml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,7 @@ components:
370370
format: uri
371371
description: A string identifier indicating a specific resource at the RS.
372372
limits:
373-
oneOf:
374-
- $ref: '#/components/schemas/limits-outgoing'
375-
- $ref: '#/components/schemas/limits-outgoing-debit-amount'
376-
- $ref: '#/components/schemas/limits-outgoing-receive-amount'
373+
$ref: '#/components/schemas/limits-outgoing'
377374
required:
378375
- type
379376
- actions
@@ -521,23 +518,14 @@ components:
521518
$ref: ./schemas.yaml#/components/schemas/receiver
522519
interval:
523520
$ref: '#/components/schemas/interval'
524-
limits-outgoing-debit-amount:
525-
title: limits-outgoing-debit-amount
526-
description: Open Payments specific property that defines the limits under which outgoing payments can be created.
527-
allOf:
528-
- $ref: '#/components/schemas/limits-outgoing'
521+
oneOf:
529522
- type: object
530523
properties:
531524
debitAmount:
532525
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.'
533526
$ref: ./schemas.yaml#/components/schemas/amount
534527
required:
535528
- debitAmount
536-
limits-outgoing-receive-amount:
537-
title: limits-outgoing-receive-amount
538-
description: Open Payments specific property that defines the limits under which outgoing payments can be created.
539-
allOf:
540-
- $ref: '#/components/schemas/limits-outgoing'
541529
- type: object
542530
properties:
543531
receiveAmount:

0 commit comments

Comments
 (0)