Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Sync `openapi.yaml` with the production specification: `DELETE /subscriptions/{subscriptionId}` documents a repeated cancel as a `204` no-op, and its `422` as a validation error. The generated models are unchanged.

## 0.1.0a5 — 2026-11-30

- Sync `openapi.yaml` with the production specification (discounts).
Expand Down
4 changes: 2 additions & 2 deletions docs/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ logging response bodies that may contain personal data.

| Source | Revision |
| --- | --- |
| Production OpenAPI, retrieved 2026-11-30 | [vatly-docs specification](https://github.com/vatly/vatly-docs/blob/0caf974016352f9aabb1910a01e3002ecd882d68/public/openapi.yaml) |
| Production OpenAPI, retrieved 2026-12-01 | [vatly-docs specification](https://github.com/vatly/vatly-docs/blob/90c44f87cccb5beca117464ee161437577e05640/public/openapi.yaml) |
| Original JS design reference | [SDK revision](https://github.com/vatly/vatly-api-js/commit/8b0b920c29f7e7b30bf71b9e379ec0a8a1a22028) |

The checked-in specification is byte-identical to that source, which docs.vatly.com
serves. Its SHA-256 is:

```text
75c539cd33a5d3f5629ae5c806b9e0158ebcd48c1ff5d2a96f95a4ca47ed167c
658a9b4715267c930943e3b0a7f3e5a31641b33f3a1e8326b4f5114642522a24
```

The specification's generated-at date is not its retrieval date.
Expand Down
9 changes: 4 additions & 5 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4055,6 +4055,9 @@ paths:
- A subscription that was canceled with a grace period (the default) can be resumed via
`POST /subscriptions/{subscriptionId}/resume` while its `status` is `on_grace_period`
- A subscription that was canceled immediately cannot be reactivated; create a new subscription instead
- Canceling a subscription that has already ended, or canceling with a grace period while it is
already on its grace period, changes nothing: the response is still `204` and no webhook is sent.
Canceling immediately while on the grace period ends the subscription now.
- Customers retain access until `renewedUntil` date (unless canceled immediately)
- No refunds are issued automatically; use the Refunds API if needed
tags:
Expand Down Expand Up @@ -4087,11 +4090,7 @@ paths:
'409':
$ref: '#/components/responses/Conflict'
'422':
description: Subscription cannot be canceled (already canceled or ended)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
$ref: '#/components/responses/ValidationFailed'
default:
$ref: '#/components/responses/UnexpectedError'
/subscriptions/{subscriptionId}/billing-update-link:
Expand Down
Loading