@kanda-libs/ks-schema 1.0.100 → 1.0.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanda-libs/ks-schema",
3
- "version": "1.0.100",
3
+ "version": "1.0.102",
4
4
  "description": "Kanda Service OpenAPI Schema",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.yaml CHANGED
@@ -278,6 +278,7 @@ paths:
278
278
  parameters:
279
279
  - in: query
280
280
  name: email
281
+ required: true
281
282
  schema:
282
283
  type: string
283
284
  format: email
@@ -1650,6 +1651,34 @@ paths:
1650
1651
  schema:
1651
1652
  $ref: "#/components/schemas/Error"
1652
1653
 
1654
+ /api/subscription/{id}/pending:
1655
+ post:
1656
+ operationId: pendingSubscription
1657
+ summary: pending existing subscription
1658
+ tags:
1659
+ - Subscription
1660
+ parameters:
1661
+ - name: id
1662
+ in: path
1663
+ description: subscription id
1664
+ required: true
1665
+ schema:
1666
+ type: string
1667
+ minLength: 1
1668
+ responses:
1669
+ 200:
1670
+ description: got existing subscription
1671
+ content:
1672
+ application/json:
1673
+ schema:
1674
+ $ref: "#/components/schemas/Subscription"
1675
+ default:
1676
+ description: unexpected error
1677
+ content:
1678
+ application/json:
1679
+ schema:
1680
+ $ref: "#/components/schemas/Error"
1681
+
1653
1682
  /api/webhook/{provider}:
1654
1683
  post:
1655
1684
  operationId: providerWebhook