Smartdocs values not populated

Not applicable

I am trying to populate default values in POST payload from Swagger sample/example or x-sample.

IN the Schema, we have all the possible values for payload, which can't be used to perform transaction.

When I decomposed the "this" variable which is available in Smartdocs, It contains various values including sample. I would like to understand hwo to populate this "body.sample" to populate default value.

In Swagger for query params, we specified type enum, Smart docs doest show them as drop down list.

For some reason, enums are not linked to options in the smartdocs/php/drupal param.

developer-portal-sample.png

1 0 104
0 REPLIES 0