Skip to content

Commit 9085280

Browse files
committed
update docs
1 parent 52989a6 commit 9085280

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ These are all the configuration options and their default value between brackets
7070
- "password": Password of the user connecting to the database (no default)
7171
- "database": Database the connecting is made to (no default)
7272
- "middlewares": List of middlewares to load (`cors`)
73-
- "controllers": List of controllers to load (`records,openapi`)
73+
- "controllers": List of controllers to load (`records,geojson,openapi`)
7474
- "openApiBase": OpenAPI info (`{"info":{"title":"PHP-CRUD-API","version":"1.0.0"}}`)
7575
- "cacheType": `TempFile`, `Redis`, `Memcache`, `Memcached` or `NoCache` (`TempFile`)
7676
- "cachePath": Path/address of the cache (defaults to system's temp directory)
@@ -631,7 +631,7 @@ The following Geometry types are supported by the GeoJSON implementation:
631631
- Polygon
632632
- MultiPolygon
633633

634-
NB: You need to add the "geojson" controller in the configuration to enable the GeoJSON functionality.
634+
The GeoJSON functionality is enabled by default, but can be disabled using the "controllers" configuration.
635635

636636
### Authentication
637637

0 commit comments

Comments
 (0)