Skip to content

Commit 7da57f6

Browse files
committed
exclude_unset=True
1 parent a4c3b76 commit 7da57f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ogc_api_processes_fastapi/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def register_route(
3737
router.add_api_route(
3838
name=route_name,
3939
response_model=response_model,
40-
response_model_exclude_unset=False,
40+
response_model_exclude_unset=True,
4141
response_model_exclude_none=True,
4242
endpoint=route_endpoint,
4343
**config.ROUTES[route_name].dict(exclude={"client_method"})

0 commit comments

Comments
 (0)