We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello everybody!
I've got something like this in my code
@GET @Path("/{id}") @ApiOperation( value = "Return item with given id", response = classOf[BaseResponse], responseContainer = "List") @ApiResponses(value = Array(new ApiResponse(code = 200, message = "Item response", response = classOf[BaseResponse]))) def getItemByIdR: Route = (id & get) { key => getItemById(key).okJson() }
Where BaseResponse is also annotated with @ApiModel, but when I request swagger.json, it has following return type of an operation:
BaseResponse
@ApiModel
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/Function1RequestContextFutureRouteResult" } }
The text was updated successfully, but these errors were encountered:
could you provide a reproducible test case?
Sorry, something went wrong.
No branches or pull requests
Hello everybody!
I've got something like this in my code
Where
BaseResponse
is also annotated with@ApiModel
, but when I request swagger.json, it has following return type of an operation:The text was updated successfully, but these errors were encountered: