feat: update area management to implement hard delete and adjust related references
This commit is contained in:
@@ -85,9 +85,6 @@
|
||||
"Area": {
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"boundary_geojson": {
|
||||
"$ref": "#/components/schemas/GeoJsonObject"
|
||||
},
|
||||
@@ -1713,7 +1710,7 @@
|
||||
},
|
||||
"/api/v1/admin/areas/{id}": {
|
||||
"delete": {
|
||||
"description": "Soft-deletes an existing municipal area by setting active to false.",
|
||||
"description": "Deletes an existing municipal area and clears linked report/team area references.",
|
||||
"operationId": "AdminController.deleteArea",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -2268,7 +2265,7 @@
|
||||
},
|
||||
"/api/v1/areas": {
|
||||
"get": {
|
||||
"description": "Lists active municipal areas.",
|
||||
"description": "Lists municipal areas.",
|
||||
"operationId": "PublicController.listAreas",
|
||||
"parameters": [ ],
|
||||
"responses": {
|
||||
|
||||
Reference in New Issue
Block a user