syroegkin / swagger-markdown

swagger to markdown transpiler
MIT License
233 stars 87 forks source link

Add more details of an error from the definitions #213

Open insidesecurity-yhojann-aguilera opened 1 month ago

insidesecurity-yhojann-aguilera commented 1 month ago

I have this error: https://github.com/syroegkin/swagger-markdown/issues/64 But I don't know where the problem is in my definition. It would be a good idea if you could indicate where the error is so I know where to correct it:

TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)
    at partiallyDereference (/home/.../app/node_modules/swagger-markdown/dist/index.js:37:28)
    at partiallyDereference (/home/.../app/node_modules/swagger-markdown/dist/index.js:47:24)
    at partiallyDereference (/home/.../app/node_modules/swagger-markdown/dist/index.js:47:24)
    at partiallyDereference (/home/.../app/node_modules/swagger-markdown/dist/index.js:47:24)
    at partiallyDereference (/home/.../app/node_modules/swagger-markdown/dist/index.js:47:24)

I know that somewhere in my definitions there must be some undefined value, but it is a rather large file and I don't know where the problem is, no matter how much I search.