Skip to content

Commit

Permalink
change openapi item to diction
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalGawor committed Jun 12, 2024
1 parent 461d448 commit 27d968e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dogapi/dogapi/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
description='Persistent identifier(s)',
required=True,
type={'type': 'array',
'items': 'str'},
'items': {'type': 'string'}},
examples=[
OpenApiExample(
'HDL',
Expand Down
2 changes: 1 addition & 1 deletion dogapi/dogapi/views_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def fetch(request: Request, use_dtr: bool = False) -> Response:
)
return ret

@extend_schema(parameters=[pid_queryparam, ],
@extend_schema(parameters=[pid_queryparam],
description="Identifies collection with its title and description, functionality requested for "
"Virtual Content Registry. For response object specification please consult examples.",
responses={
Expand Down

0 comments on commit 27d968e

Please sign in to comment.