You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/Models/Juego.php
+5-75
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
* @OA\Property(property="nombre", description="Nombre del juego", type="string", example="Test123"),
20
20
* @OA\Property(property="descripcion", description="descripción del juego", type="string", example="insertando juego de prueba..."),
21
21
* @OA\Property(property="desarrolladora", description="nombre de la desarrolladora que pertenece al juego", type="string", example="Test123 Studios"),
22
+
* @OA\Property(property="imagen", description="imagen en base64 que pertenece al juego", type="string", format="base64", example="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPj/HwADBwIAMCbHYQAAAABJRU5ErkJggg=="),
22
23
* @OA\Property(property="fecha", type="string", description="fecha de salida de lanzamiento del juego", example="2021-01-01"),
23
24
* @OA\Property(property="generos", type="strin
F987
g", description="Slugs de generos ya existentes en la base de datos de tipo array (No se puede insertar generos que no esten registrado en la base de datos).", example={"aventura", "rpg-de-accion", "multijugador"}),
24
25
* @OA\Property(property="slug", type="string", description="Url amigable del nombre del juego", example="test123")
@@ -58,7 +59,7 @@ public function validation_add($request)
0 commit comments