#Swagger UI / Nestjs
16 messages · Page 1 of 1 (latest)
Using Chat-GPT it generate a question and help with phrasing is okay, but next time, you can leave out the emojis. and make sure to replace the placeholders
[Briefly mention your usage of tags in NestJS]
[Include any code or configurations]
Maybe show what you currently have, and give a clear idea of what you want and someone can probably help you better
Any NestJS aficionados know how to craft a dropdown or somehow separate these APIs by tags in Swagger UI? Trying to maintain that clean, user-friendly look.
Again, show what you have and clearly describe what you're looking for. Tags should "just work"™️ if you have them set
tags are working , i would like to have dropdown to choose wich modules apis i want to see in a single page
Have you ever seen that with a SwaggerUI page?
yes of course
Can you show an example?
I think Moussa is talking about API definition dropdown that's usually used for versioning. I used to do that with spring boot but havent seen a way to do it in NestJS
exactly this is what i am looking for
but not for versions its for separating apis
for example each module apis will be on a diffrent page and i want to choose wich modules apis i want to se from the dropdown
filter by modules basically
You could probably make a chain swagger UI page for that, but to my message m knowledge thatm doesn't exist it it the box
@snow notch This is also what I was looking for. In Java-Land this is called GroupedOpenApi. Unfortunately I haven't found a way of achieving this inside NestJS 😦