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
Suppose we have a following model:
@ApiModel(description = "A price for an offer.") case class OfferPrice( @ApiModelProperty(description = "The amount.") amount: Double, @ApiModelProperty(description = "The tax amount.") taxAmount: Double, @ApiModelProperty(description = "The tax rate.") taxRate: Option[Double] )
Scalatra's Swagger 2.0 support renders it as follows. descriptions are not rendered:
{ "OfferPrice": { "properties": { "amount": { "type": "number", "format": "double" }, "taxAmount": { "type": "number", "format": "double" }, "taxRate": { "type": "number", "format": "double" } } } }
The text was updated successfully, but these errors were encountered:
(refs scalatra#684)Render description of ApiModel and ApiModelPropert…
a6705ee
…y in Swagger 2.0
03225bd
takezoe
No branches or pull requests
Suppose we have a following model:
Scalatra's Swagger 2.0 support renders it as follows. descriptions are not rendered:
The text was updated successfully, but these errors were encountered: