#Swagger UI / Nestjs

16 messages · Page 1 of 1 (latest)

grave steeple
#

Holy GPT-Emoji Batman!

#

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

snow notch
# grave steeple Holy GPT-Emoji Batman!

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.

grave steeple
#

Again, show what you have and clearly describe what you're looking for. Tags should "just work"™️ if you have them set

snow notch
grave steeple
#

Have you ever seen that with a SwaggerUI page?

snow notch
#

yes of course

grave steeple
#

Can you show an example?

mortal lichen
#

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

snow notch
#

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

grave steeple
#

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

sudden sierra
#

@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 😦