Issue #3668
open api schema has wrong response definition for PUT and PATCH of /pulp/api/v3/repositories/<id>/
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.
Associated revisions
Revision 4b98650f
View on GitHub
Fix OpenAPI schema for async responses
Revision 0b20cbc1
View on GitHub
Fix OpenAPI schema for async responses
Revision aa309a6b
View on GitHub
Fix OpenAPI schema for async responses
Revision 552e2829
View on GitHub
Fix OpenAPI schema for async responses
Revision bf376c2f
View on GitHub
Fix OpenAPI schema for async responses
History
#1
Updated by dalley over 2 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 37
#2
Updated by bmbouter over 2 years ago
- Tags Pulp 3 added
#3
Updated by rchan over 2 years ago
- Sprint changed from Sprint 37 to Sprint 38
#4
Updated by rchan over 2 years ago
- Sprint changed from Sprint 38 to Sprint 39
#5
Updated by daviddavis over 2 years ago
- Tags Documentation added
#6
Updated by bizhang over 2 years ago
- Status changed from NEW to ASSIGNED
#7
Updated by bizhang over 2 years ago
- Assignee set to bizhang
#8
Updated by bizhang over 2 years ago
- Status changed from ASSIGNED to POST
#9
Updated by werwty over 2 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|4b98650fc6e80d628e5b08ea3cf719ebc88b86fa.
#10
Updated by werwty over 2 years ago
Applied in changeset pulp_file:552e2829a67bd30bacef786d203340b158912afe.
#11
Updated by werwty over 2 years ago
Applied in changeset pulp_python:0b20cbc1c57552641946fa9607cb22a8065bfc6b.
#12
Updated by werwty over 2 years ago
Applied in changeset ansible_plugin:pulp_ansible|bf376c2fd8537385aeb8a5fdf8ef2c44bfb131b3.
#13
Updated by werwty over 2 years ago
Applied in changeset plugin_template:commit:aa309a6b2b85c2b10ca7fd67364908a8bc133bf0.
#14
Updated by bmbouter almost 2 years ago
- Tags deleted (
Pulp 3)
#15
Updated by bmbouter about 1 year ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Please register to edit this issue
Fix OpenAPI schema for async responses
closes #3668 https://pulp.plan.io/issues/3668