-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathopenapi.yaml
93 lines (93 loc) · 2.19 KB
/
openapi.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
openapi: 3.0.0
info:
title: Vergrabber API
contact:
name: Tomasz Król
email: [email protected]
version: 1.1.0
servers:
- url: https://vergrabber.kingu.pl
paths:
/vergrabber.json:
get:
description: 'Returns all version definitions and signature information'
responses:
'200':
description: 'A tree of version definitions'
content:
application/json:
schema:
$ref: '#/components/schemas/Root'
components:
schemas:
Root:
type: object
properties:
signature:
$ref: '#/components/schemas/Signature'
server:
type: array
items:
type: object
$ref: '#/components/schemas/Application'
client:
type: array
items:
type: array
$ref: '#/components/schemas/Application'
latest:
type: array
items:
type: object
$ref: '#/components/schemas/Latest'
Signature:
type: object
properties:
app:
type: string
version:
type: string
author:
type: string
notice:
type: string
updated:
type: string
Version:
type: object
properties:
product:
type: string
edition:
type: string
version:
type: string
stable:
type: boolean
latest:
type: boolean
released:
type: string
ends:
type: string
lts:
type: boolean
Latest:
type: object
properties:
server:
type: array
$ref: '#/components/schemas/Application'
client:
type: array
$ref: '#/components/schemas/Application'
Application:
type: array
items:
type: object
$ref: '#/components/schemas/Edition'
Edition:
type: array
items:
type: object
$ref: '#/components/schemas/Version'