Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

e.replace is not a function #577

Open
brianpilati opened this issue Oct 17, 2018 · 0 comments
Open

e.replace is not a function #577

brianpilati opened this issue Oct 17, 2018 · 0 comments

Comments

@brianpilati
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant