Skip to content

Commit

Permalink
feat(api): update spec (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
samueldurantes authored Mar 28, 2024
1 parent cacb7a0 commit 9765ad4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
FaJava,
FaPython,
FaWhatsapp,
FaOpencart
FaOpencart,
} from 'react-icons/fa';
import { GrOracle } from 'react-icons/gr';
import { SiNodedotjs, SiPowershell, SiWoo, SiDelphi } from 'react-icons/si';
Expand Down
2 changes: 1 addition & 1 deletion src/swaggers/woovi.json

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions src/swaggers/woovi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1900,6 +1900,8 @@ paths:
type: BR:CPF
value: 100
dayGenerateCharge: 5
correlationID: subscription#1
status: ACTIVE
"400":
description: An error message
content:
Expand Down Expand Up @@ -3049,6 +3051,9 @@ components:
type: string
expiresIn:
type: string
subscription:
type: object
$ref: "#/components/schemas/Subscription"
ChargePayload:
type: object
properties:
Expand Down Expand Up @@ -3726,6 +3731,16 @@ components:
dayGenerateCharge:
type: number
description: Day of the month that the charges will be generated
status:
type: string
enum:
- ACTIVE
- OVERDUE
- COMPLETED
- EXPIRED
correlationID:
type: string
description: Your correlation ID to keep track of this subscription
SubscriptionPayload:
type: object
properties:
Expand Down
2 changes: 1 addition & 1 deletion static/wooviPostman.json

Large diffs are not rendered by default.

0 comments on commit 9765ad4

Please sign in to comment.