Skip to content

Commit

Permalink
close gaps in extension sanitization
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed Dec 19, 2021
1 parent 66086cf commit e905ee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drf_spectacular/plumbing.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,11 @@ def build_root_object(paths, components, version):
'info': {
'title': settings.TITLE,
'version': version,
**settings.EXTENSIONS_INFO,
**sanitize_specification_extensions(settings.EXTENSIONS_INFO),
},
'paths': {**paths, **settings.APPEND_PATHS},
'components': components,
**settings.EXTENSIONS_ROOT,
**sanitize_specification_extensions(settings.EXTENSIONS_ROOT),
}
if settings.DESCRIPTION:
root['info']['description'] = settings.DESCRIPTION
Expand Down

0 comments on commit e905ee5

Please sign in to comment.