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
Hi, Need an help here :
override protected def routes = authenticated { uc => concat(assignRole(uc), getUserInfo(uc))}
and signature of a function looks like
def assignRole(uc: UserContext): Route = path(JavaUUID)
Now when i try to add a
@ApiImplicitParams(Array( new ApiImplicitParam(name = "userId", required = true, dataType = "string", paramType = "body") )) and generate doc the doc contains
"parameters" : [ { "in" : "body", "name" : "body", "required" : false, "schema" : { "$ref" : "#/definitions/UserContext" } }, { "name" : "userId", "in" : "body", "required" : true, "type" : "string" },
Since there are 2 params of type body the validation of doc fails has more than 1 body param
has more than 1 body param
Any suggestions how we can override the default body tag
The text was updated successfully, but these errors were encountered:
The generated swagger params are the sum of the params in the method that is annotated and the ApiImplicitParams from the annotations.
If you want to omit a parameter that is in your method's param list, use the annotations described in https://stackoverflow.com/questions/22812365/how-to-hide-a-parameter-in-swagger (hidden=true)
Sorry, something went wrong.
No branches or pull requests
Hi,
Need an help here :
and signature of a function looks like
Now when i try to add a
@ApiImplicitParams(Array(
new ApiImplicitParam(name = "userId", required = true, dataType = "string", paramType = "body")
))
and generate doc the doc contains
Since there are 2 params of type body the validation of doc fails
has more than 1 body param
Any suggestions how we can override the default body tag
The text was updated successfully, but these errors were encountered: