Forum Discussion

semihsayin's avatar
Occasional Visitor
2 years ago

Spring Generic Type Schema Define Problem

I hava some problems to swagger documentation examples on spring. I was defined example response object but i want to use default schema because own schema has generic type.


Example Schema Object : ResponseDTO<List<ExampleObject>> 


How can i define default response schema with example response in Spring Boot?


Sorry for my bad english.


Thank you for all answers.

No RepliesBe the first to reply