When attempting to parse improperly formatted YAML, pretty-swag crashes instead of returning an error in the callback. This can be tested by attempting to generate output for this example:
paths:
"/{test}/":
parameters:
- $ref: "#/parameters/test"
post:
summary: This is a test file
(Side note: I know I've created several issues already today... let me know if you'd like a hand with any of them!)
When attempting to parse improperly formatted YAML, pretty-swag crashes instead of returning an error in the callback. This can be tested by attempting to generate output for this example:
(Side note: I know I've created several issues already today... let me know if you'd like a hand with any of them!)