@@ -225,23 +225,7 @@ public function getViewOpensStatistics(Request $request): JsonResponse
225
225
new OA \Response (
226
226
response: 200 ,
227
227
description: 'Success ' ,
228
- content: new OA \JsonContent (
229
- properties: [
230
- new OA \Property (
231
- property: 'domains ' ,
232
- type: 'array ' ,
233
- items: new OA \Items (
234
- properties: [
235
- new OA \Property (property: 'domain ' , type: 'string ' ),
236
- new OA \Property (property: 'subscribers ' , type: 'integer ' ),
237
- ],
238
- type: 'object '
239
- )
240
- ),
241
- new OA \Property (property: 'total ' , type: 'integer ' ),
242
- ],
243
- type: 'object '
244
- )
228
+ content: new OA \JsonContent (ref: '#/components/schemas/TopDomainStats ' )
245
229
),
246
230
new OA \Response (
247
231
response: 403 ,
@@ -294,54 +278,7 @@ public function getTopDomains(Request $request): JsonResponse
294
278
new OA \Response (
295
279
response: 200 ,
296
280
description: 'Success ' ,
297
- content: new OA \JsonContent (
298
- properties: [
299
- new OA \Property (
300
- property: 'domains ' ,
301
- type: 'array ' ,
302
- items: new OA \Items (
303
- properties: [
304
- new OA \Property (property: 'domain ' , type: 'string ' ),
305
- new OA \Property (
306
- property: 'confirmed ' ,
307
- properties: [
308
- new OA \Property (property: 'count ' , type: 'integer ' ),
309
- new OA \Property (property: 'percentage ' , type: 'number ' , format: 'float ' ),
310
- ],
311
- type: 'object '
312
- ),
313
- new OA \Property (
314
- property: 'unconfirmed ' ,
315
- properties: [
316
- new OA \Property (property: 'count ' , type: 'integer ' ),
317
- new OA \Property (property: 'percentage ' , type: 'number ' , format: 'float ' ),
318
- ],
319
- type: 'object '
320
- ),
321
- new OA \Property (
322
- property: 'blacklisted ' ,
323
- properties: [
324
- new OA \Property (property: 'count ' , type: 'integer ' ),
325
- new OA \Property (property: 'percentage ' , type: 'number ' , format: 'float ' ),
326
- ],
327
- type: 'object '
328
- ),
329
- new OA \Property (
330
- property: 'total ' ,
331
- properties: [
332
- new OA \Property (property: 'count ' , type: 'integer ' ),
333
- new OA \Property (property: 'percentage ' , type: 'number ' , format: 'float ' ),
334
- ],
335
- type: 'object '
336
- ),
337
- ],
338
- type: 'object '
339
- )
340
- ),
341
- new OA \Property (property: 'total ' , type: 'integer ' ),
342
- ],
343
- type: 'object '
344
- )
281
+ content: new OA \JsonContent (ref: '#/components/schemas/DetailedDomainStats ' )
345
282
),
346
283
new OA \Response (
347
284
response: 403 ,
@@ -396,11 +333,11 @@ public function getDomainConfirmationStatistics(Request $request): JsonResponse
396
333
content: new OA \JsonContent (
397
334
properties: [
398
335
new OA \Property (
399
- property: 'localParts ' ,
336
+ property: 'local_parts ' ,
400
337
type: 'array ' ,
401
338
items: new OA \Items (
402
339
properties: [
403
- new OA \Property (property: 'localPart ' , type: 'string ' ),
340
+ new OA \Property (property: 'local_part ' , type: 'string ' ),
404
341
new OA \Property (property: 'count ' , type: 'integer ' ),
405
342
new OA \Property (property: 'percentage ' , type: 'number ' , format: 'float ' ),
406
343
],
0 commit comments