Closed sephentos closed 1 year ago
Hi @sephentos
Could you provide a repo example with this error?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When using square brackets in
@param
to define optional parameters within JSDoc (e.g.@param {Request} [request]
) the whole@swagger
annotation will not get processed.No console logs are being printed, the /v1/getToken path is just completly missing.
Removing the square brackets (
@param {Request} [request]
->@param {Request} request
) makes it work again and the spec is available again.Using swagger-jsdoc 6.2.5 with swagger-ui-express