From 00efc78558d33dfa56187a980bca29e3ad22312c Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Thu, 15 Sep 2022 16:46:09 +0200 Subject: [PATCH] [#210] Register correct component --- vng_api_common/inspectors/geojson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vng_api_common/inspectors/geojson.py b/vng_api_common/inspectors/geojson.py index a6841c2f..bcbd8f5a 100644 --- a/vng_api_common/inspectors/geojson.py +++ b/vng_api_common/inspectors/geojson.py @@ -60,7 +60,7 @@ def map_serializer_field(self, auto_schema, direction): object="Point2D", ) - auto_schema.registry.register_on_missing(geometry_component) + auto_schema.registry.register_on_missing(point2d_component) point_component = ResolvedComponent( name="Point",