Arello-Mobile / Arello-Mobile/py2swagger

py2swagger doesn't respect `http_method_names`

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
31
Forks
5
PR merge metrics
No merged PRs in 30d

Description

If a method (e.g. `patch`) is not contained in `http_method_names` of a View or a Viewset it will still appear in swagger.json

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that builds swagger.json for Views and Viewsets, then trace how http_method_names is read or ignored. Reproduce the case with a method such as patch excluded from http_method_names; done means that method no longer appears in the generated Swagger output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.