init
This commit is contained in:
commit
922fa0e77a
62 changed files with 2586 additions and 0 deletions
73
api-gateway/openapi_dev.yaml
Executable file
73
api-gateway/openapi_dev.yaml
Executable file
|
|
@ -0,0 +1,73 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue