How to use a Swagger type discriminator with Kotlin data classes?

前端 未结 0 1361
慢半拍i
慢半拍i 2020-12-01 01:20

I have an API reponse which contains a list of objects, each of which can be of a different type. These are defined as Data Classes:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题