You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When I create a postman file using apiary2postman to my blueprint file, where I used MSON to define any structure, the created postman doesn't contain any body data in the POST and PUT requests.
Is apiary2postman incompatible with MSON blueprint annotation?
And this is the generated postman for this request:
{
responses: [ ],
dataMode: "params",
tests: "",
description: "A new goal will be created using this action. This action takes a JSON payload as a part of the request. Response then return specific header and body + type (STRING) - Type of type of goal + title (string) - Title of the goal + description (string) - Description of the goal + creator (string) - Position id of the Goal creator + category (string) - Category of the created Goal ",
collectionId: "edeef016-6b25-487b-9269-1972535c0142",
url: "{{HOST}}/positions/132/periods/103/goals",
method: "POST",
headers: "Content-Type: application/hal+json Accept-Charset: utf-8 X-AUTH-TOKEN: {{token}} X-FORWARDED-HOST: local-133.umantis.lan Accept: application/hal+json;charset=UTF-8",
descriptionFormat: "html",
version: 2,
time: 1488549551,
synced: false,
pathVariables: { },
folder: "0d82c745-cfeb-4142-83a4-73009ac018a6",
data: [ ],
id: "ca288b97-cef6-497e-98de-520b4b09c273",
name: "Create a new goal"
},
.... where data is empty.
The text was updated successfully, but these errors were encountered:
Hi,
When I create a postman file using apiary2postman to my blueprint file, where I used MSON to define any structure, the created postman doesn't contain any body data in the POST and PUT requests.
Is apiary2postman incompatible with MSON blueprint annotation?
This is my blueprint/MSON definition:
Request (application/hal+json)
Headers
Body
Attributes (object)
And this is the generated postman for this request:
{
responses: [ ],
dataMode: "params",
tests: "",
description: "A new goal will be created using this action. This action takes a JSON payload as a part of the request. Response then return specific header and body + type (STRING) - Type of type of goal + title (string) - Title of the goal + description (string) - Description of the goal + creator (string) - Position id of the Goal creator + category (string) - Category of the created Goal ",
collectionId: "edeef016-6b25-487b-9269-1972535c0142",
url: "{{HOST}}/positions/132/periods/103/goals",
method: "POST",
headers: "Content-Type: application/hal+json Accept-Charset: utf-8 X-AUTH-TOKEN: {{token}} X-FORWARDED-HOST: local-133.umantis.lan Accept: application/hal+json;charset=UTF-8",
descriptionFormat: "html",
version: 2,
time: 1488549551,
synced: false,
pathVariables: { },
folder: "0d82c745-cfeb-4142-83a4-73009ac018a6",
data: [ ],
id: "ca288b97-cef6-497e-98de-520b4b09c273",
name: "Create a new goal"
},
.... where data is empty.
The text was updated successfully, but these errors were encountered: