Project

Profile

Help

Issue #3962

Artifact create response is not documented

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

Status:
MODIFIED
Priority:
Normal
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:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 42

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.

Associated revisions

Revision 6181cd14 View on GitHub
Added by dkliban@redhat.com about 1 year ago

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

Revision 6181cd14 View on GitHub
Added by dkliban@redhat.com about 1 year ago

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

Revision 6181cd14 View on GitHub
Added by dkliban@redhat.com about 1 year ago

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

History

#1 Updated by dkliban@redhat.com about 1 year ago

  • Status changed from NEW to POST

#2 Updated by daviddavis about 1 year ago

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

#3 Updated by dkliban@redhat.com about 1 year ago

  • Status changed from POST to MODIFIED

#4 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#5 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)

Please register to edit this issue

Also available in: Atom PDF