feat(clinic): enforce maximum gallery image limit of 5 and update validation logic
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ Create a new clinic.
|
||||
| `longitude` | float | ❌ | Longitude for map |
|
||||
| `state` | string | ❌ | Province name |
|
||||
| `city` | string | ❌ | City name |
|
||||
| `image_clinic` | object[] | ❌ | Gallery images `[{url: "..."}]` |
|
||||
| `image_clinic` | object[] | ❌ | Gallery images `[{url: "..."}]` — **max 5**; more returns `ERR_VALIDATION_001` (422) |
|
||||
| `clinic_logo` | string | ❌ | Logo URL |
|
||||
| `doctors` | string[] | ❌ | Doctor UUIDs to associate |
|
||||
| `specialties` | integer[] | ❌ | Specialty IDs |
|
||||
|
||||
Reference in New Issue
Block a user