sales_tool/api-gateway/openapi_dev.yaml
2025-11-17 14:21:29 +09:00

73 lines
2.1 KiB
YAML
Executable file

swagger: '2.0'
info:
title: crate-minutes-api
description: 'Meeting Minutes Generator Web-API'
version: '1.0.0'
schemes:
- 'https'
paths:
/trigger-minutes-workflow-from-miitel:
post:
description: 'ワークフロー呼び出し処理'
operationId: 'trigger-minutes-workflow-from-miitel'
x-google-backend:
address: https://asia-northeast1-datacom-poc.cloudfunctions.net/mrt-trigger-minutes-workflow-from-miitel
path_translation: CONSTANT_ADDRESS
consumes:
- application/json
produces:
- application/json
parameters:
- in: body
name: body
description: JSON payload
required: false
schema:
type: object
additionalProperties: true
responses:
200:
description: 'OK'
schema:
type: object
additionalProperties: true
401:
description: 'Auth Error'
schema:
type: object
properties:
error:
type: string
500:
description: 'Error'
schema:
type: object
properties:
error:
type: string
security:
- APIKeyHeader: []
options:
summary: 'CORS support'
operationId: 'trigger-minutes-workflow-from-miitel-options'
x-google-backend:
address: https://asia-northeast1-datacom-poc.cloudfunctions.net/mrttrigger-minutes-workflow-from-miitel
path_translation: CONSTANT_ADDRESS
responses:
204:
description: 'CORS preflight'
headers:
Access-Control-Allow-Origin:
type: string
default: '*'
Access-Control-Allow-Methods:
type: string
default: 'GET, POST, OPTIONS'
Access-Control-Allow-Headers:
type: string
default: 'Content-Type, x-api-key'
securityDefinitions:
APIKeyHeader:
type: apiKey
name: x-api-key
in: header