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

Allow generating the swagger definitions without namespace #146

Open
paul-english opened this issue Feb 13, 2017 · 2 comments
Open

Allow generating the swagger definitions without namespace #146

paul-english opened this issue Feb 13, 2017 · 2 comments

Comments

@paul-english
Copy link

It seems unusual to have for example models.Pet as the name of a definition. It also leads to unusual results from swagger-codegen. I can understand how it can be useful when you actually need to pull definitions from multiple namespaces, but it would be nice to allow swagger generation without the domain namespace in the definitions.

In short, if we reference $ref: '#/definitions/models.Pet there should be some way to have the output in the swagger be just Pet without the namespace.

@yasha-dev1
Copy link

Is there any update on this issue, this is something that would actually be useful :)

@Javakky-pxv
Copy link
Collaborator

@paul-english @yasha-dev1
We are currently reviewing it. It may take some time, but we plan to address it.

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

No branches or pull requests

3 participants