Project

Profile

Help

Issue #3668

open api schema has wrong response definition for PUT and PATCH of /pulp/api/v3/repositories/<id>/

Added by dkliban@redhat.com over 1 year ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 39

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
Added by werwty over 1 year ago

Fix OpenAPI schema for async responses

closes #3668
https://pulp.plan.io/issues/3668

Revision 4b98650f View on GitHub
Added by werwty over 1 year ago

Fix OpenAPI schema for async responses

closes #3668
https://pulp.plan.io/issues/3668

Revision 4b98650f View on GitHub
Added by werwty over 1 year ago

Fix OpenAPI schema for async responses

closes #3668
https://pulp.plan.io/issues/3668

Revision 0b20cbc1 View on GitHub
Added by werwty over 1 year ago

Fix OpenAPI schema for async responses

closes #3668
https://pulp.plan.io/issues/3668

Revision aa309a6b View on GitHub
Added by werwty over 1 year ago

Fix OpenAPI schema for async responses

closes #3668
https://pulp.plan.io/issues/3668

Revision 552e2829 View on GitHub
Added by werwty over 1 year ago

Fix OpenAPI schema for async responses

closes #3668
https://pulp.plan.io/issues/3668

Revision bf376c2f View on GitHub
Added by werwty over 1 year ago

Fix OpenAPI schema for async responses

closes #3668
https://pulp.plan.io/issues/3668

History

#1 Updated by dalley over 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 37

#2 Updated by bmbouter over 1 year ago

  • Tags Pulp 3 added

#3 Updated by rchan over 1 year ago

  • Sprint changed from Sprint 37 to Sprint 38

#4 Updated by rchan over 1 year ago

  • Sprint changed from Sprint 38 to Sprint 39

#5 Updated by daviddavis over 1 year ago

  • Tags Documentation added

#6 Updated by bizhang over 1 year ago

  • Status changed from NEW to ASSIGNED

#7 Updated by bizhang over 1 year ago

  • Assignee set to bizhang

#8 Updated by bizhang over 1 year ago

  • Status changed from ASSIGNED to POST

#9 Updated by werwty over 1 year ago

  • Status changed from POST to MODIFIED

#13 Updated by werwty about 1 year ago

Applied in changeset plugin_template:commit:aa309a6b2b85c2b10ca7fd67364908a8bc133bf0.

#14 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF