Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

dataTypeClass not translating into a schema $ref #175

Open
joantune opened this issue May 24, 2018 · 0 comments
Open

dataTypeClass not translating into a schema $ref #175

joantune opened this issue May 24, 2018 · 0 comments

Comments

@joantune
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant