#intercepting for swagger

23 messages · Page 1 of 1 (latest)

river jay
#

I'm not sure I understand what you mean

river shoal
#

returning sample like this

#

i need default response like {data: Response, status: whatever}

river jay
#

You can define response types for the swagger

river shoal
#

can u give me some example pls

river jay
#

Have you read the docs?

river shoal
#

yes

river jay
river shoal
#

yes i saw that

#

but can't define like my want

river jay
#

Why not?

river shoal
#

its giving error

river jay
#

What's the error?

river shoal
#

when extends use to class

river jay
#

What is Response?

river shoal
river jay
#

I don't think you are referencing the right Response in your UserEntity

river shoal
#

what should i do

river jay
#

Also, as this will be an issue, generics are not properly supported via reflection, and you'll probably not get the right values to populate in your swagger unless you directly define them all

river shoal
#

:(

river jay
#

This is literally in the docs though, WE make an explicit mention about generics