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

[BUG][Golang][Server] Golang Server (Maybe Others) creates identical stubs for endpoints with multiple tags #3942

Open
julianwilkinson opened this issue Sep 23, 2019 · 1 comment

Comments

@julianwilkinson
Copy link

julianwilkinson commented Sep 23, 2019

Description

Golang Server (Maybe Others) creates identical stubs for endpoints with multiple tags. The Golang compiler disallows redeclaration.

openapi-generator version

4.1.2

Steps to reproduce

Create golang server stubs with a spec with an endpoint that has multiple tags

Related issues/PRs

Similar behavior for ASP.net:
#2844

@arroo
Copy link

arroo commented Apr 28, 2020

this also happens on clients.

swagger-codegen bug here: swagger-api/swagger-codegen#9471
swagger-codegen solution here: swagger-api/swagger-codegen#9472

EDIT: looks like this is not the case as you can pass in -pstructPrefix=true and it does not occur for clients. dunno about servers though.

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

No branches or pull requests

2 participants