This commit is contained in:
2025-12-06 23:51:50 +03:30
parent 7567e00f8a
commit eb48187ad0
5 changed files with 31 additions and 6 deletions
@@ -40,7 +40,18 @@ export class CreateRestaurantDto {
longitude?: number;
@ApiPropertyOptional({
example: { type: 'Polygon', coordinates: [[[51.389, 35.6892], [51.390, 35.6892], [51.390, 35.6902], [51.389, 35.6902], [51.389, 35.6892]]] },
example: {
type: 'Polygon',
coordinates: [
[
[51.389, 35.6892],
[51.39, 35.6892],
[51.39, 35.6902],
[51.389, 35.6902],
[51.389, 35.6892],
],
],
},
description: 'محدوده سرویس‌دهی به صورت GeoJSON Polygon',
})
@IsOptional()