-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Show descriptions of the models in the UI #35
Comments
Any estimate when this will be implemented? |
I've done it locally but as a hack by modifying generated javascript from coffescript and without using templates. It was around 1day work and I might have time to rewrite it properly, but looking at pending pull requests, they are not merged very often. |
Do you have a link to the code with your modifications? |
Thanks... it's a start :) I hope the swagger team will pick it up soon... I think it should have high priority because you have to know what the API expects when using Swagger to test it. |
@pietervogelaar bumping up the priority on this... |
I would also like to see this one implemented |
A push on this is coming through real soon. |
Awesome ayush! Thanks! faster was impossible! |
Thanks a lot!! I will check it out asap! |
@angelolloqui @pietervogelaar thanks. let me know if you guys have feedback on this. |
Well, I already tried it out and it looks great! The only "however" that I would say are the colors used for the even rows. I think it would be more useful if the datatype would be the "even" element instead of the full property, and therefore we could change its color (fields names in black, types in orange). Anyway, with or without this little improvement, it works like a charm! Thanks! |
Thats a good point. However, the intent behind alternating colors for full properties (rather than field/type) was to make it make easy for the eyeball to jump from one property to another. |
@ayush I understand the point but I dont fully agree that is indeed easier to jump from one to another. In my opinion it would be easier with the field/type though. Anyway, as I said, it is more than enough for my purposes. Thanks! |
I checked it out and it looks great! One point of feedback. All properties are comma seperated now and that saves a lot of vertical space. But maybe a toggle button would be nice to see the properties below eachother because it will read easier. |
swagger-ui ignores the model descriptors coming in from the server. Not good. It should show em
The text was updated successfully, but these errors were encountered: