dataTypeClass not translating into a schema $ref
Opened this issue · 0 comments
joantune commented
Hi!
So, as I found out - an annotation like:
@ApiImplicitParams(value = {
@ApiImplicitParam(name = "body",
value = "RancherStack to create",
required = true,
dataTypeClass = RancherStack.class,
paramType = "body"
)})
Doesn't generate a spec like:
"schema" : {
"$ref" : "#/definitions/RancherStack"
}
However - specifying the whole Classname on dataType works as intended.
This seems like a bug - and an easy one to solve at that