I have a Servlet with doGet method. It takes param type and based on the
type I have different responses.
Can someone suggest the annotation I should use in doGet
switch (type) {
case A:
jsonString = A.class Json
break;
case B:
jsonString = B.class Json
break;
and so on..
There are approx 20-25 types
I would also appreciate if someone points me to the web.xml and pom.xml to
generate the api for a simple servlet like this.
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.