Actions
Issue #4638
closedDelete distriution REST API method description incorrect
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix
Sprint:
Sprint 51
Quarter:
Description
The description indicates the method is synchronous and returns a 204, but should return a 202 and a task.
Actions
Problem: OpenAPI schema for distribution delete is wrong
Solution: rename 'delete' method on the ViewSet to 'destroy'
This patch also updates the schema for orphan delete.
fixes: #4638 https://pulp.plan.io/issues/4638