forked from flightjs/example-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimpleAPI.yaml
More file actions
33 lines (33 loc) · 710 Bytes
/
SimpleAPI.yaml
File metadata and controls
33 lines (33 loc) · 710 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
openapi: "3.0.3"
info:
title: "SimpleAPI"
description: ""
version: "vasdad"
paths:
/hello:
get:
summary: ""
description: ""
parameters: []
responses:
200:
description: "success response"
content:
application/json:
schema:
$ref: "#/components/schemas/user"
example:
- name: "Sagar Deshpande"
- name: "Sagar Deshpande"
headers: {}
components:
schemas:
user:
type: "object"
properties:
name:
type: "string"
default: "string"
description: "asdasdasd"
example:
- name: "Sagar Deshpande"