-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathissue-22849.yaml
More file actions
127 lines (127 loc) · 3.01 KB
/
Copy pathissue-22849.yaml
File metadata and controls
127 lines (127 loc) · 3.01 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
openapi: 3.0.0
info:
version: "minimal-repro"
title: TopApis API
paths:
"/topApis":
get:
tags:
- TopApi
summary: List TopApis
operationId: listTopApis
parameters:
- in: query
name: includeInactive
schema:
type: boolean
required: false
example: false
- in: query
name: filterByName
schema:
type: string
required: false
example: 'ada'
- in: query
name: offset
schema:
type: integer
minimum: 0
default: 0
required: false
example: 5
- in: query
name: limit
schema:
type: integer
minimum: 1
default: 10
required: false
example: 10
responses:
'200':
description: a description
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ListOfTopApis'
- $ref: '#/components/schemas/Pagination'
components:
schemas:
TopApi:
type: object
required:
- name
- pathwaysVersion
additionalProperties: false
properties:
topApiId:
type: string
format: uuid
readOnly: true
example: '884c0363-bbbe-4a5e-8d4f-1d34910803fc'
name:
type: string
example: 'adastra'
pathwaysVersion:
type: string
example: '0.1'
active:
type: boolean
readOnly: true
example: true
created:
type: string
format: date-time
readOnly: true
example: '2017-07-21T17:32:28Z'
ListOfTopApis:
type: object
additionalProperties: false
properties:
data:
type: array
items:
$ref: '#/components/schemas/TopApi'
example:
data:
- topApiId: '8ab9b11d-bf43-469e-a276-f601801d043c'
name: 'docman'
pathwaysVersion: '0.1'
active: false
created: '2018-07-21T17:32:28Z'
- topApiId: 'baa0dc91-9711-4b61-9c90-ce8ac0b109a9'
name: 'careweb'
pathwaysVersion: '0.1'
active: true
created: '2019-07-21T17:32:28Z'
Pagination:
type: object
properties:
pagination:
type: object
properties:
offset:
type: integer
minimum: 0
default: 0
example: 5
limit:
type: integer
example: 20
totalResultCount:
type: integer
example: 521
example:
pagination:
offset: 0
limit: 10
totalResultCount: 100
requestBodies:
TopApi:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TopApi'