We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a56e9ac commit ee67580Copy full SHA for ee67580
modules/swagger-jaxrs/src/main/scala/com/wordnik/swagger/jaxrs/JaxrsApiReader.scala
@@ -336,7 +336,7 @@ trait JaxrsApiReader extends ClassReader with ClassReaderUtils {
336
field.getAnnotation(classOf[HeaderParam]) != null || field.getAnnotation(classOf[PathParam]) != null ||
337
field.getAnnotation(classOf[ApiParam]) != null) {
338
val param = new MutableParameter
339
- param.dataType = field.getType.getName
+ param.dataType = processDataType(field.getType, field.getGenericType)
340
Option (field.getAnnotation(classOf[ApiParam])) match {
341
case Some(annotation) => toAllowableValues(annotation.allowableValues)
342
case _ =>
0 commit comments