Skip to content

Commit

Permalink
fix OpenAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Jun 24, 2024
1 parent 0ee956b commit b14baaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pygeoapi/api/itemtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1481,6 +1481,9 @@ def get_oas_30(cfg: dict, locale: str) -> tuple[list[dict[str, str]], dict[str,
else:
schema = type_

if schema.get('format') is None:
schema.pop('format', None)

path_ = f'{collection_name_path}/items'
paths[path_]['get']['parameters'].append({
'name': field,
Expand Down

0 comments on commit b14baaf

Please sign in to comment.