File tree 2 files changed +19
-15
lines changed
matchmaker/api/src/main/resources/static/openapi
people/api/src/main/resources/static/openapi
2 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ paths:
142
142
tags : [SOA]
143
143
summary : Reset attitudes
144
144
description : Removes attitudes from the given person
145
+ security :
146
+ - bearerAuth : [ADMIN]
145
147
parameters :
146
148
- name : source_id
147
149
in : query
@@ -207,6 +209,8 @@ paths:
207
209
tags : [SOA]
208
210
summary : Get attitudes statistics
209
211
description : Returns like/skip counters for each person
212
+ security :
213
+ - bearerAuth : [ADMIN]
210
214
responses :
211
215
200 :
212
216
description : OK
Original file line number Diff line number Diff line change 5
5
servers :
6
6
- url : /api/v1
7
7
security :
8
- - bearerAuth : []
8
+ - bearerAuth : [USER, ADMIN ]
9
9
paths :
10
10
/monitoring/healthcheck :
11
11
get :
@@ -172,7 +172,18 @@ paths:
172
172
schema :
173
173
type : array
174
174
items :
175
- $ref : " #/components/schemas/PersonSortingKey"
175
+ type : string
176
+ enum :
177
+ - first_name
178
+ - last_name
179
+ - height
180
+ - birthday
181
+ - updated
182
+ - -first_name
183
+ - -last_name
184
+ - -height
185
+ - -birthday
186
+ - -updated
176
187
uniqueItems : true
177
188
responses :
178
189
200 :
@@ -285,6 +296,8 @@ paths:
285
296
tags : [People]
286
297
summary : Delete person by id
287
298
description : Deletes a person with a given id forever?
299
+ security :
300
+ - bearerAuth : [ADMIN]
288
301
parameters :
289
302
- name : person_id
290
303
in : path
@@ -445,19 +458,6 @@ components:
445
458
- id
446
459
- update_moment
447
460
- $ref : " #/components/schemas/PersonDraft"
448
- PersonSortingKey :
449
- type : string
450
- enum :
451
- - first_name
452
- - last_name
453
- - height
454
- - birthday
455
- - updated
456
- - -first_name
457
- - -last_name
458
- - -height
459
- - -birthday
460
- - -updated
461
461
ZodiacSign :
462
462
type : string
463
463
description : Astrological sign, caclulated based on a birthday
You can’t perform that action at this time.
0 commit comments