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

@JoelLefkowitz JoelLefkowitz added 1.23.x Release target in 1.23.x bug Bug report/fix labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.23.x Release target in 1.23.x bug Bug report/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants