Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix when multiple actions have the same url_path #800

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shipengtaov
Copy link

this pull request fix case when multiple actions having the same url_path, while not using action.mapping

@action(detail=False, methods=['get'], url_path='test')
def action_get(self, request):
    pass

@action(detail=False, methods=['post'], url_path='test')
def action_post(self, request):
    pass

In this case, the swagger will only show GET /test, not including POST /test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant