Issue #3668
closedopen 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.
Updated by dalley over 6 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 37
Updated by bizhang over 6 years ago
- Status changed from ASSIGNED to POST
Added by werwty over 6 years ago
Added by werwty over 6 years ago
Revision 4b98650f | View on GitHub
Fix OpenAPI schema for async responses
Added by werwty over 6 years ago
Revision 0b20cbc1 | View on GitHub
Fix OpenAPI schema for async responses
Added by werwty over 6 years ago
Revision aa309a6b | View on GitHub
Fix OpenAPI schema for async responses
Updated by werwty over 6 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|4b98650fc6e80d628e5b08ea3cf719ebc88b86fa.
Added by werwty over 6 years ago
Revision 552e2829 | View on GitHub
Fix OpenAPI schema for async responses
Updated by werwty over 6 years ago
Applied in changeset pulp_file:552e2829a67bd30bacef786d203340b158912afe.
Added by werwty over 6 years ago
Revision bf376c2f | View on GitHub
Fix OpenAPI schema for async responses
Updated by werwty over 6 years ago
Applied in changeset pulp_python:0b20cbc1c57552641946fa9607cb22a8065bfc6b.
Updated by werwty over 6 years ago
Applied in changeset ansible_plugin:pulp_ansible|bf376c2fd8537385aeb8a5fdf8ef2c44bfb131b3.
Updated by werwty over 6 years ago
Applied in changeset plugin_template:commit:aa309a6b2b85c2b10ca7fd67364908a8bc133bf0.
Updated by bmbouter about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Fix OpenAPI schema for async responses
closes #3668 https://pulp.plan.io/issues/3668