Open zyro23 opened 7 years ago
@zyro23 thanks for reporting. The only issue with that is that there is no guarantee that that class is in the class path or that there is only one class with that name (different package).
what about supporting a fqcn? dataType = "my.package.MyClass"
swagger-servlet
behavior for reference:
ref. https://github.com/swagger-api/swagger-core/blob/v1.5.12/modules/swagger-servlet/src/main/java/io/swagger/servlet/extensions/ServletReaderExtension.java#L419
if
@ApiImplicitParam.dataType
references a non-simple type (i.e. a custom class), you also need to reference that class viaDocket.additionalModels
. would make sense to do that automatically, i think.