|
15 | 15 |
|
16 | 16 | /** |
17 | 17 | * @OA\OpenApi( |
18 | | - * openapi="3.1.0", |
19 | 18 | * security={{"MatomoToken": {}}}, |
20 | 19 | * @OA\ExternalDocumentation( |
21 | 20 | * description="Matomo Reporting API developer page", |
|
58 | 57 | * description="Generic Matomo success payload.", |
59 | 58 | * required={"result","message"}, |
60 | 59 | * additionalProperties=true, |
61 | | - * @OA\Property(property="result", type="string", enum={"success"}, example="success"), |
| 60 | + * @OA\Property(property="result", type="string", example="success"), |
62 | 61 | * @OA\Property(property="message", type="string", example="ok"), |
63 | 62 | * @OA\Property(property="code", type="integer", example="200") |
64 | 63 | * ) |
|
70 | 69 | * description="Generic Matomo error payload.", |
71 | 70 | * required={"result","message"}, |
72 | 71 | * additionalProperties=true, |
73 | | - * @OA\Property(property="result", type="string", enum={"error"}, example="error"), |
| 72 | + * @OA\Property(property="result", type="string", example="error"), |
74 | 73 | * @OA\Property(property="message", type="string", example="There was an error"), |
75 | 74 | * @OA\Property(property="code", type="integer") |
76 | 75 | * ) |
|
0 commit comments