swagger-node
swagger-node copied to clipboard
e.replace is not a function
I'm getting this error on all of my /get routes. Post routes are fine
swagger-node-express : 2.1.3
parser_block.js:127 Uncaught (in promise) TypeError: e.replace is not a function at a.parse (parser_block.js:127) at Array.e.exports (block.js:15) at i.process (parser_core.js:50) at f.parse (index.js:138) at f.render (index.js:152) at t.default (markdown.jsx:38) at s._constructComponentWithoutOwner (ReactCompositeComponent.js:306) at s._constructComponent (ReactCompositeComponent.js:282) at s.mountComponent (ReactCompositeComponent.js:185) at Object.mountComponent (ReactReconciler.js:43)
Example of documentation
/**
- @swagger
- /api/v1/subscription:
- get:
-
description: Get all subscriptions -
produces: -
- application/json -
responses: -
200: -
description: [subscription] -
schema: -
$ref: '#/definitions/subscription'
*/
Any ideas?