Skip to content

Commit

Permalink
Fix api schema for upstream_pulps_replicate
Browse files Browse the repository at this point in the history
This operation requires no body.

fixes pulp#3995
  • Loading branch information
mdellweg authored and dkliban committed Jul 11, 2023
1 parent e152b3d commit ee78e0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/3995.bugfix
@@ -0,0 +1 @@
Fix api schema of the `upstream_pulp_replicate` operation requiring no body.
1 change: 1 addition & 0 deletions pulpcore/app/viewsets/replica.py
Expand Up @@ -33,6 +33,7 @@ class UpstreamPulpViewSet(
summary="Replicate",
description="Trigger an asynchronous repository replication task group. This API is "
"provided as a tech preview.",
request=None,
responses={202: AsyncOperationResponseSerializer},
)
@action(detail=True, methods=["post"])
Expand Down

0 comments on commit ee78e0c

Please sign in to comment.