generated from wisdom-oss/microservice-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
38 lines (34 loc) · 878 Bytes
/
openapi.yaml
File metadata and controls
38 lines (34 loc) · 878 Bytes
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
37
38
openapi: 3.0.3
info:
title: Microservice BrainTank
description: Microservice BrainTank
version: 1.0.0
servers:
- url: '/api/brain-tank'
description: WISdoM
- url: 'http://localhost:8000'
description: Development
components:
securitySchemes:
WISdoM:
description: |
Access Tokens issued by the User Management Service
type: openIdConnect
openIdConnectUrl: /api/auth/.well-known/openid-configuration
paths:
/v1/insert:
post:
requestBody:
description: Brain Tank Measurement
required: true
content:
application/json:
schema:
$ref: "types/v1/parameter.go"
responses:
201:
description: Insert response
content:
text/plain:
schema:
type: string