Project

Profile

Help

Issue #3668

closed

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

Added by dkliban@redhat.com over 6 years ago. Updated about 5 years ago.

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:
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 #1

Updated by dalley over 6 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 37
Actions #2

Updated by bmbouter over 6 years ago

  • Tags Pulp 3 added
Actions #3

Updated by rchan over 6 years ago

  • Sprint changed from Sprint 37 to Sprint 38
Actions #4

Updated by rchan over 6 years ago

  • Sprint changed from Sprint 38 to Sprint 39
Actions #5

Updated by daviddavis over 6 years ago

  • Tags Documentation added
Actions #6

Updated by bizhang over 6 years ago

  • Status changed from NEW to ASSIGNED
Actions #7

Updated by bizhang over 6 years ago

  • Assignee set to bizhang
Actions #8

Updated by bizhang over 6 years ago

  • Status changed from ASSIGNED to POST

Added by werwty over 6 years ago

Revision 4b98650f | View on GitHub

Fix OpenAPI schema for async responses

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

Added by werwty over 6 years ago

Revision 4b98650f | View on GitHub

Fix OpenAPI schema for async responses

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

Added by werwty over 6 years ago

Revision 0b20cbc1 | View on GitHub

Fix OpenAPI schema for async responses

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

Added by werwty over 6 years ago

Revision aa309a6b | View on GitHub

Fix OpenAPI schema for async responses

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

Actions #9

Updated by werwty over 6 years ago

  • Status changed from POST to MODIFIED

Added by werwty over 6 years ago

Revision 552e2829 | View on GitHub

Fix OpenAPI schema for async responses

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

Added by werwty over 6 years ago

Revision bf376c2f | View on GitHub

Fix OpenAPI schema for async responses

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

Actions #13

Updated by werwty over 6 years ago

Applied in changeset plugin_template:commit:aa309a6b2b85c2b10ca7fd67364908a8bc133bf0.

Actions #14

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #15

Updated by bmbouter about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF