Skip to content
Open
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
22 changes: 10 additions & 12 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,7 @@ paths:
description: Checkout Session のステータス
in: query
schema:
type: string
enum:
- complete
- expired
- open
$ref: '#/components/schemas/CheckoutSessionStatus'
responses:
'200':
description: OK
Expand Down Expand Up @@ -798,6 +794,14 @@ components:
- uncollectible
- void
example: draft
CheckoutSessionStatus:
description: Checkout Session のステータス
type: string
enum:
- complete
- expired
- open
example: open
PostInvoiceResponse:
description: Invoice creation result
type: object
Expand Down Expand Up @@ -896,13 +900,7 @@ components:
customer:
$ref: '#/components/schemas/Customer'
status:
type: string
description: Checkout Session のステータス
enum:
- complete
- expired
- open
example: open
$ref: '#/components/schemas/CheckoutSessionStatus'
payment_intent:
type: string
nullable: true
Expand Down
203 changes: 97 additions & 106 deletions server/gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.