Open zutnop opened 10 years ago
Somehow the swagger4spring-web loses the $ symbol from the specified "$ref" field.
This can be easily reproduced in the swagger4spring-web-example project:
Person.java
@ApiModelProperty(value = "categories test") private List<Category> categories;
"models": { "Person": { "properties": { "categories": { "type": "List" "items": { "$ref": "Category"
BUT, instead it looks like this:
"models": { "Person": { "properties": { "categories": { "type": "List" "items": { "ref": "Category"
(the $ sign is missing).
This means that swagger-ui doesn't pick up the collection type and doesn't show the model definition etc.
when is this fix going in?
Somehow the swagger4spring-web loses the $ symbol from the specified "$ref" field.
This can be easily reproduced in the swagger4spring-web-example project:
Person.java
modelBUT, instead it looks like this:
(the $ sign is missing).
This means that swagger-ui doesn't pick up the collection type and doesn't show the model definition etc.