-
Notifications
You must be signed in to change notification settings - Fork 9
/
openapi.yml
44 lines (44 loc) · 1.56 KB
/
openapi.yml
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
39
40
41
42
43
44
openapi: 3.0.0
info:
title: kytos/status
version: latest
description: Provides basic information about the controller status
paths:
/api/kytos/status/v1/:
get:
summary: Return basic information from running controller.
responses:
200: # You can add more responses
description: Describe a successful call.
content:
application/json: # You can also use text/plain, for example
schema:
type: object # Adapt to your response
properties:
prop_one:
type: string
description: Meaning of prop_one
example: an example of prop_one
second_prop:
type: integer
description: Meaning of second_prop
example: 42
/api/kytos/status/v1/napps:
get:
summary: Return a list of all NApps installed and running.
responses:
200: # You can add more responses
description: Describe a successful call.
content:
application/json: # You can also use text/plain, for example
schema:
type: object # Adapt to your response
properties:
prop_one:
type: string
description: Meaning of prop_one
example: an example of prop_one
second_prop:
type: integer
description: Meaning of second_prop
example: 42