The Workflow Organizer website helps students to organize their academic workload through features such as a dashboard, timeline, reminders, collaboration tools, resource library, progress tracking, and analytics. It also allows users to share and summarize courses and seek project help.
MIT License
47
stars
21
forks
source link
Swagger - TSOA : Returning multiple responses for one status code #153
i tried looking throw the docs, i found that it is possible according to open api specifications but i field to find it on the docs of tsoa
doing it in multiple string line, it is good but they don't align
Achieved behavior :
@Response(
400,
`- This route is not for role updates. Please use /updateRole\n\- This route is not for password updates. Please use auth/updateMyPassword`
)
"400": {
"description": "- This route is not for role updates. Please use /updateRole\n- This route is not for password updates. Please use auth/updateMyPassword"
},
things i tried :
and as you can see this looks ugly.
I appreciate it someone took a look at this