Actions
Issue #4555
closeddistribution create/update is not documented as returning a task object
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Using pulpcore-3.0.0b22 the api was changed to return a task object for distribution create/update, however the api docs indicate that a distribution is returned. This causes an issue when trying to use bindings, as the wrong object is returned.
Files
Actions
Problem: OpenAPI schema for distribution CUD is wrong
Solution: Use AsyncOperationResponseSerializer as the response serializer for swagger_auto_schema
fixes: #4555 https://pulp.plan.io/issues/4555