Open
Description
As what the title says; description text is not properly escaped.
When I tried to give a description containing '
(single quote), the documentation stops completely, e.g:
@OpenAPI({
description: "Get all student's LO",
responses: {
"200": {
description: "OK",
},
},
})
When the single quote is removed, it works fine.
@OpenAPI({
description: "Get all students LO",
responses: {
"200": {
description: "OK",
},
},
})
A simple solution would be escaping the single quote with some regex or similar things.