Skip to content

Map<String, BigDecimal> in model #1634

New issue

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

Closed
mibrahim-iti opened this issue Jan 27, 2016 · 1 comment
Closed

Map<String, BigDecimal> in model #1634

mibrahim-iti opened this issue Jan 27, 2016 · 1 comment

Comments

@mibrahim-iti
Copy link

how can i do mapping using swagger @ApiModelProperty for next getter method
public Map<String, BigDecimal> getTags() {
return tags;
}
should i use
@ApiModelProperty(name ="tags", notes = "tags note", dataType = "java.util.Map[string,java.math.BigDecimal]", value = "tags description")
or this will not work??

@mibrahim-iti
Copy link
Author

i solved it, and solution in #542
OAI/OpenAPI-Specification#542

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

No branches or pull requests

1 participant