You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following on from my groups post I think it'd be useful to utilize the HTML5 placeholder attribute for parameter input fields within swagger UI - basically as a helpful cue for the user.
For example, if I had a date field the input box could start with a placeholder of 'yyyy-mm-dd' - the default value couldn't be used here as the format suggestion isn't actually valid input.
I guess there'd need to be an additional field on the annotation, e.g.
@ApiParam(placeholder="yyyy-mm-dd")
I'd be more than happy to contribute the change myself if you guys think that it's worthwhile
Cheers
The text was updated successfully, but these errors were encountered:
Hi,
Following on from my groups post I think it'd be useful to utilize the HTML5 placeholder attribute for parameter input fields within swagger UI - basically as a helpful cue for the user.
For example, if I had a date field the input box could start with a placeholder of 'yyyy-mm-dd' - the default value couldn't be used here as the format suggestion isn't actually valid input.
I guess there'd need to be an additional field on the annotation, e.g.
I'd be more than happy to contribute the change myself if you guys think that it's worthwhile
Cheers
The text was updated successfully, but these errors were encountered: