food
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user