In spec, if I give default value, all paramters are getting defaulted in spec's Try it out feature, but it doesn't get shown in portal's 'Try it out' feature. Is there a way to make it work ?
Default values for parameters represent the server-side default values. For example, if you have a paginated collection that has 10 results per page, the default value would be 10. The client doesn't have to supply any value unless they want a different one.
I suspect you will want to use the example property, which should populate the try-it experience.
I tried giving the example property ..but it doesn't work the way I wanted !
It populates the spec editor's try it out feature, but not developer portal's try it out feature !
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |