Actions
Issue #3668
closedopen api schema has wrong response definition for PUT and PATCH of /pulp/api/v3/repositories/<id>/
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Sprint 39
Quarter:
Description
The documentation for the /pulp/api/v3/repositories/<id>/ says that the response is a 200 and contains the JSON representing a repository. However, the API actually returns a 202 with information about a task.
The problem shows up in documentation as well as in the bindings. The bindings expect a response that is described by our open api schema.
I suspect this is a problem for all endpoints that return 202s.
Actions
Fix OpenAPI schema for async responses
closes #3668 https://pulp.plan.io/issues/3668