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
When schemaFaker is disabled, openapi-to-postmanv2 produces this error for any operation that takes an array parameter that is not annotated with a specific array style:
TypeError: paramValue.join is not a function
at Object.convertParamsWithStyle (/path/to/project/node_modules/openapi-to-postmanv2/lib/util.js:815:29)
Because schemaFaker is disabled, paramValue is an empty string. It looks like I would also run into this problem in different branches if I did specify an array style, so I don't think that will solve the problem.
I ran into this bug because the schema faker cannot handle recursive schemas and some of the schemas in my API are recursive (tree structures, mainly).
The text was updated successfully, but these errors were encountered:
brpeterman
pushed a commit
to brpeterman/openapi-to-postman
that referenced
this issue
May 24, 2019
openapi-to-postmanv2 version: 0.0.12
Example OpenAPI spec:
Invocation example:
Description of problem
When schemaFaker is disabled, openapi-to-postmanv2 produces this error for any operation that takes an array parameter that is not annotated with a specific array style:
Because schemaFaker is disabled,
paramValue
is an empty string. It looks like I would also run into this problem in different branches if I did specify an array style, so I don't think that will solve the problem.I ran into this bug because the schema faker cannot handle recursive schemas and some of the schemas in my API are recursive (tree structures, mainly).
The text was updated successfully, but these errors were encountered: