You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
package com.example
object Stuff {
@ApiModel(description = "A thing")
case class Thing(@(ApiModelProperty @field)(value = "ID of the thing") id: String)
}
And I want to do:
@ApiImplicitParams(Array(
new ApiImplicitParam(name="thing", required=true, dataType="com.example.Stuff.Thing", paramType="body", value="A thing to add.")
))
However, the type "Thing" never gets added to the models. Moving "Thing" outside of the object causes it to show up in the models.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In my code I have an object like this:
And I want to do:
However, the type "Thing" never gets added to the models. Moving "Thing" outside of the object causes it to show up in the models.
The text was updated successfully, but these errors were encountered: