pulp / pulp/pulpcore

As a user I do not want to get OpenAPI schema warnings

Open
#1,960 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Task
Dominant language
Python
Stars
598
Forks
168
Avg merge
1d 4h
Merged PRs (30d)
86

Description

Author: @fao89 (fao89)

Redmine Issue: 8124, https://pulp.plan.io/issues/8124


Currently,

  • drf-spectacular emits a warning when it can't get a serializer from APIView
  • django-filters emits a warning when it can't get the queryset

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing schema generation through the APIView and django-filters entry points mentioned in the issue, then trace the warnings emitted by drf-spectacular and django-filters. Identify the intended cases where these warnings should be suppressed and add coverage showing schema generation completes without them.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.