Skip to content

Commit

Permalink
Add Termination Reason SUBSCRIPTION_DELETED
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-dierich authored Nov 19, 2024
1 parent 2a551c2 commit eb51fe1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions code/API_definitions/sim-swap-subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -712,11 +712,11 @@ components:
description: Event detail structure for SUBSCRIPTION_ENDS event
type: object
required:
- terminationReason
- Reason
- subscriptionId
properties:
terminationReason:
$ref: "#/components/schemas/TerminationReason"
Reason:
$ref: "#/components/schemas/Reason"
subscriptionId:
$ref: "#/components/schemas/SubscriptionId"
terminationDescription:
Expand All @@ -729,11 +729,13 @@ components:
- SUBSCRIPTION_EXPIRED - Subscription expire time (optionally set by the requester) has been reached
- MAX_EVENTS_REACHED - Maximum number of events (optionally set by the requester) has been reached
- ACCESS_TOKEN_EXPIRED - Access Token sinkCredential (optionally set by the requester) expiration time has been reached
- SUBSCRIPTION_DELETED - Subscription was deleted by the requester
enum:
- MAX_EVENTS_REACHED
- NETWORK_TERMINATED
- SUBSCRIPTION_EXPIRED
- ACCESS_TOKEN_EXPIRED
- SUBSCRIPTION_DELETED

HTTPSubscriptionRequest:
allOf:
Expand Down

0 comments on commit eb51fe1

Please sign in to comment.