Skip to content

Conversation

@dongfangtianyu
Copy link

Note: Before submitting this pull request, please review our contributing guidelines.

Description

on Open API3.0 ,Operations must have unique operationIds. refs ##6549 Maybe Forget action decorator

This will result in the same Operations ID:

class ExampleGenericViewSet(GenericViewSet):
    @action(detail=False)
    def new(self, *args, **kwargs):
        pass

    @action(detail=False)
    def old(self, *args, **kwargs):
        pass

@dongfangtianyu dongfangtianyu changed the title Fix repeat operation ids in Fix repeat operationids in OpenAPI Schema Apr 7, 2019
@carltongibson carltongibson force-pushed the openapi-schema-generation branch from e61af55 to bb0db35 Compare April 29, 2019 09:20
@carltongibson carltongibson added this to the 3.10 Release milestone May 13, 2019
@carltongibson
Copy link
Collaborator

Merged in 637a263. Thank again @dongfangtianyu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants