From 4c8d446ae21ddb67ea45e7b26e6bf611deef1aef Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Mon, 13 Mar 2023 06:59:09 -0400 Subject: [PATCH] default item transactions to GeoJSON payloads (#1166) --- pygeoapi/openapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pygeoapi/openapi.py b/pygeoapi/openapi.py index 89f26b1..4d74b21 100644 --- a/pygeoapi/openapi.py +++ b/pygeoapi/openapi.py @@ -538,7 +538,7 @@ def get_oas_30(cfg): 'requestBody': { 'description': 'Adds item to collection', 'content': { - 'application/json': { + 'application/geo+json': { 'schema': {} } }, @@ -672,7 +672,7 @@ def get_oas_30(cfg): 'requestBody': { 'description': 'Updates item in collection', 'content': { - 'application/json': { + 'application/geo+json': { 'schema': {} } },