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 almost 6 years ago. Updated over 4 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.

Also available in: Atom PDF