generated from staticwebdev/vue-basic
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathto-web-client.yaml
36 lines (34 loc) · 950 Bytes
/
to-web-client.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
openapi: 3.0.0
info:
title: de:code 2020 Tech Quiz - Control client
description: APIs to control web client that makes audience answer for de:code 2020 Tech Quiz
version: 1.0.0
servers:
- url: 'http://localhost:{port}/api'
description: Local
variables:
port:
default: '8080'
description: port number
- url: 'https://{prefix}.{location}.azurestaticapps.net/api'
description: Static Web App
variables:
prefix:
default: <Input here>
description: Sub domain prefix
location:
default: eastasia
description: Location
paths:
/messages:
post:
operationId: sendMessage
summary: Send a message to web client
requestBody:
content:
application/json:
schema:
$ref: "./shared-components.yaml#/components/schemas/SendMessagesRequestBody"
responses:
'200':
description: Succeeded