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

Use format information when rendering data types for request parameters #3657

Closed
clasnake opened this issue Sep 12, 2017 · 5 comments
Closed

Comments

@clasnake
Copy link

Hi,

Currently, swagger-ui extracts type information when rendering data types for request parameters. But format information is not taken into consideration.
So the UI doesn't differentiate between int32 and int 64 now for example, which should be a useful information.
Any plan to support this like what we have in response models?
screen shot 2017-09-12 at 6 34 59 pm

Thank you

@webron
Copy link
Contributor

webron commented Sep 12, 2017

It's not taken into consideration in what sense?

@clasnake
Copy link
Author

screen shot 2017-09-12 at 8 32 34 pm

@webron Can we display something like integer($int64) for the parameters? Am I missing any configurations?

Thanks

@webron
Copy link
Contributor

webron commented Sep 12, 2017

I'm pretty sure there's an open ticket for this, but can't find it now. Will leave it open for now.

@clasnake
Copy link
Author

clasnake commented Dec 4, 2017

Hi @webron , any progress on this issue? Thanks very much.

@webron
Copy link
Contributor

webron commented Jul 5, 2018

Closing as this is resolved now.

@webron webron closed this as completed Jul 5, 2018
@lock lock bot locked and limited conversation to collaborators Jul 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants