Open schneivo77 opened 5 years ago
Hi,
is it intentional that the descriptions of body parameters are not used in the Postman collection after the conversion?
From your README.md:
in = body
in = formData
consumes = application/x-www-form-urlencoded
All parmas with above condition are added to urlencoded array. If in = formData and consumes = multipart/form-data swagger postman name: role-iddescription: role identifier numberin: formDatadefault: defaultValue "body": { "mode": "formdata", "formdata": [{ "key": "role-id", "value": defaultValue, "type": "text", }]} All parmas with above condition are added to formdata array.
All parmas with above condition are added to urlencoded array.
consumes = multipart/form-data
All parmas with above condition are added to formdata array.
Hi,
is it intentional that the descriptions of body parameters are not used in the Postman collection after the conversion?
From your README.md:
Body param conversion example
If
in = body
description: role identifier number
in: body
schema: \<schemaObject>
"mode": "raw",
"raw": json-schema-faker(\<schemaObject>)
}
If
in = formData
andconsumes = application/x-www-form-urlencoded
description: role identifier number
in: formData
default: defaultValue
"mode": "urlencoded",
"urlencoded": [{
"key": "role-id",
"value": defaultValue,
"type": "text",
}]
}