Project

Profile

Help

Issue #3962

closed

Artifact create response is not documented

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

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 42
Quarter:

Description

The response is not documented for POST '/pulp/api/v3/artifacts'.

As a result the generated client doesn't know how to interpret the response and simply sets it to None.

Added by dkliban@redhat.com about 6 years ago

Revision 6181cd14 | View on GitHub

Problem: drf_yasg does not generate a response schema for Artifact

Solution: provide a custom view inspector for ArtifactViewset

The custom inspector generates responses for multipart form uploads. As a result the generated OpenAPI 2.0 schema has responses for Artifact GET and POST.

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

Added by dkliban@redhat.com about 6 years ago

Revision 6181cd14 | View on GitHub

Problem: drf_yasg does not generate a response schema for Artifact

Solution: provide a custom view inspector for ArtifactViewset

The custom inspector generates responses for multipart form uploads. As a result the generated OpenAPI 2.0 schema has responses for Artifact GET and POST.

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

Actions #1

Updated by dkliban@redhat.com about 6 years ago

  • Status changed from NEW to POST
Actions #2

Updated by daviddavis about 6 years ago

  • Assignee set to dkliban@redhat.com
  • Triaged changed from No to Yes
  • Sprint set to Sprint 42
Actions #3

Updated by dkliban@redhat.com about 6 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #5

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)
Actions #6

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF