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

duplicate operationId in generated openapi spec #1356

Closed
jlsherrill opened this issue Feb 10, 2023 · 1 comment · Fixed by #1371
Closed

duplicate operationId in generated openapi spec #1356

jlsherrill opened this issue Feb 10, 2023 · 1 comment · Fixed by #1371

Comments

@jlsherrill
Copy link

Version
0.16.0

Describe the bug
in the generated openapi spec, there seems to be a duplicated operationId:

        "{ansible_role_href}versions/": {
            "get": {
                "operationId": "versions_get",
                "description": "APIView for Role Versions.",
        "{ansible_collection_version_href}versions/": {
            "get": {
                "operationId": "versions_get",
                "description": "APIView for Collections by namespace/name.",
                "parameters": [

I don't think this is allowed and i'm seeing some go bindings generation generating bad code due to it.

@jlsherrill
Copy link
Author

related to pulp/pulp_python#594

@gerrod3 gerrod3 self-assigned this Feb 23, 2023
gerrod3 added a commit to gerrod3/pulp_ansible that referenced this issue Feb 23, 2023
gerrod3 added a commit that referenced this issue Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants