java - how to implements swagger config for interface class? -


i have following class structure

class classa{private interfaceb field1;private classc fiels2;} interface b{} class d implements interfaceb{private string field1;private classe field2;private string field3} 

this produces swagger json till interface below

{"swagger":"2.0","host":"localhost:8080","basepath":"/basepath","tags":[{"name":"controller","description":"controllerr"}],"definitions":{"classa":{"type":"object","properties":{"field1":{"type":"array","items":{"$ref":"#/definitions/classb"}},"errors":{"type":"array","items":{"$ref":"#/definitions/classc"}}}},"classc":{"type":"object","properties":{"field1":{"type":"string"},"field2":{"type":"string"},"field3":{"type":"string"},"field4":{"type":"string"}}},"classb":{"type":"object"}}} 

here problem not getting classd , on classes , fields. don't know how overcome interface in this. please me.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -