Is there a way to add and example values for parameters?
Currently I have this Paramenters Class:
class QueryParameter(@DefaultValue("2019") @Description("Maximum released year") val yearMax: Int?)
And my swagger Ui is like this:
I don't want a "default value", but actually an example that auto populate the field when trying the endpoint. Is it possible to add an example value to a parameter?
Is there a way to add and example values for parameters?
Currently I have this Paramenters Class:
class QueryParameter(@DefaultValue("2019") @Description("Maximum released year") val yearMax: Int?)
And my swagger Ui is like this:
I don't want a "default value", but actually an example that auto populate the field when trying the endpoint. Is it possible to add an example value to a parameter?