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

Control over swagger contact object #1046

Closed
smwurster opened this issue Nov 9, 2015 · 2 comments
Closed

Control over swagger contact object #1046

smwurster opened this issue Nov 9, 2015 · 2 comments
Labels
Milestone

Comments

@smwurster
Copy link

The ApiInfo class has a setter/getter for contact. This ends up being translated into the contact object in the swagger spec. However, this value is always assumed to be the name field within that object. I would like to be able to completely control the contact object, including having the ability to define the email field and clear out the name field.

@dilipkrish dilipkrish added this to the 2.4.0 milestone Nov 10, 2015
@dilipkrish
Copy link
Member

That is a true statement! thanks for pointing that out. A PR would be awesome!

@smwurster
Copy link
Author

I doubt I can create a PR that would be accepted as-written. However, if I have time, I might at least be able to create the POJO for the Contact class and look into adjusting ApiInfo to reflect that.

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

No branches or pull requests

2 participants