loic911 / Rest-api-doc

MIT License
21 stars 32 forks source link

Add a default value in RestApiParam #23

Open anthony-foulfoin opened 9 years ago

anthony-foulfoin commented 9 years ago

Hi,

There is a defaultValue attribute in RestApiObjectField, it would be great to have it in RestApiParam too :)

For instance:

@RestApiParam(name="pageSize", type = "int", paramType = RestApiParamType.QUERY, description = "", defaultValue= "10")