openapi: 3.1.0
info:
title: Gmail Webhook API
description: 지정된 수신자에게 이메일을 전송하는 웹훅입니다. 제목, 본문, 첨부파일을 포함할 수 있습니다.
version: 1.0.0
servers:
- url: http://localhost:5678/webhook-test (주소 수정)
description: Local Webhook Server
paths:
/6656f9ee-5a77-4a89-af72-aad8dd5db42d:
post:
operationId: sendGmail
summary: Gmail 전송
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- to
- subject
- body
properties:
to:
type: string
format: email
description: 수신자 이메일 주소
subject:
type: string
description: 이메일 제목
body:
type: string
description: 이메일 본문
attachments:
type: array
description: 첨부파일 URL 목록
items:
type: string
format: uri
responses:
'200':
description: 이메일 전송 성공
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: true