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
16 changes: 8 additions & 8 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openapi: 3.1.0

Check warning on line 1 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Run Spectral

oas3-api-servers OpenAPI "servers" must be present and non-empty array.

info:

Check warning on line 3 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Run Spectral

info-contact Info object must have "contact" object. info
title: Checkin API
Expand All @@ -7,7 +7,7 @@

paths:
/verify-email:
post:

Check warning on line 10 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Run Spectral

operation-description Operation "description" must be present and non-empty string. paths./verify-email.post
summary: isct メールアドレスの確認メールを送信
tags:
- Auth
Expand All @@ -19,20 +19,20 @@
content:
application/json:
schema:
$ref: '#/components/schemas/VerifyEmailRequest'
$ref: '#/components/schemas/PostVerifyEmailRequest'
responses:
'202':
description: Accepted
content:
application/json:
schema:
$ref: '#/components/schemas/VerifyEmailStartResponse'
$ref: '#/components/schemas/PostVerifyEmailResponse'
'400':
$ref: '#/components/responses/BadRequest'
'500':
$ref: '#/components/responses/InternalServerError'
/verify-email/confirm:
get:

Check warning on line 35 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Run Spectral

operation-description Operation "description" must be present and non-empty string. paths./verify-email/confirm.get
summary: メール確認トークンの確認ページを表示
tags:
- Auth
Expand Down Expand Up @@ -64,7 +64,7 @@
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/InternalServerError'
post:

Check warning on line 67 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Run Spectral

operation-description Operation "description" must be present and non-empty string. paths./verify-email/confirm.post
summary: メール確認トークンを消費してログインを完了
tags:
- Auth
Expand All @@ -74,7 +74,7 @@
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/VerifyEmailConfirmRequest'
$ref: '#/components/schemas/PostVerifyEmailConfirmRequest'
responses:
'303':
description: See Other
Expand Down Expand Up @@ -103,7 +103,7 @@
'500':
$ref: '#/components/responses/InternalServerError'
/csrf:
get:

Check warning on line 106 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Run Spectral

operation-description Operation "description" must be present and non-empty string. paths./csrf.get
summary: CSRF トークン用 cookie を発行
tags:
- Auth
Expand Down Expand Up @@ -218,7 +218,7 @@
'500':
$ref: '#/components/responses/InternalServerError'
/invoices:
get:

Check warning on line 221 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Run Spectral

operation-description Operation "description" must be present and non-empty string. paths./invoices.get
summary: 請求書由来の入金一覧を取得
tags:
- Invoice
Expand Down Expand Up @@ -278,7 +278,7 @@
content:
application/json:
schema:
$ref: '#/components/schemas/CreateInvoiceResponse'
$ref: '#/components/schemas/PostInvoiceResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
Expand All @@ -288,7 +288,7 @@
'500':
$ref: '#/components/responses/InternalServerError'
/webhook/invoice-paid:
post:

Check warning on line 291 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Run Spectral

operation-description Operation "description" must be present and non-empty string. paths./webhook/invoice-paid.post
summary: Webhook の invoice.paid イベントを受け取る
tags:
- Webhook
Expand All @@ -315,7 +315,7 @@
$ref: '#/components/responses/InternalServerError'

/checkout/sessions:
get:

Check warning on line 318 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Run Spectral

operation-description Operation "description" must be present and non-empty string. paths./checkout/sessions.get
summary: オンライン決済ページ由来の入金一覧を取得
tags:
- CheckoutSession
Expand Down Expand Up @@ -352,7 +352,7 @@
'500':
$ref: '#/components/responses/InternalServerError'
/admin:
get:

Check warning on line 355 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Run Spectral

operation-description Operation "description" must be present and non-empty string. paths./admin.get
summary: 管理者の一覧を取得
tags:
- Admin
Expand Down Expand Up @@ -440,7 +440,7 @@
type: string
pattern: ^/(|[^/].*)$
example: /membership
VerifyEmailRequest:
PostVerifyEmailRequest:
description: Verify email request
type: object
additionalProperties: false
Expand All @@ -453,7 +453,7 @@
pattern: ^[^@\s]+@[iI][sS][cC][tT]\.[aA][cC]\.[jJ][pP]$
required:
- email
VerifyEmailConfirmRequest:
PostVerifyEmailConfirmRequest:
description: Verify email confirm request
type: object
additionalProperties: false
Expand All @@ -463,7 +463,7 @@
minLength: 32
required:
- token
VerifyEmailStartResponse:
PostVerifyEmailResponse:
description: Verify email start response
type: object
additionalProperties: false
Expand Down Expand Up @@ -536,7 +536,7 @@
required:
- customer_id
- product_id
CreateInvoiceResponse:
PostInvoiceResponse:
description: Invoice creation result
type: object
properties:
Expand Down
152 changes: 76 additions & 76 deletions server/gen.go

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

Loading