8000 Question: @ApiModelProperty add example will be parsed to json · Issue #1700 · springfox/springfox · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Question: @ApiModelProperty add example will be parsed to json #1700
Closed
@igieon

Description

@igieon

Hello all,

I need to pass in @ApiModelProperty json example value. I look through code and i see in springfox.documentation.schema.ModelProperty that example is type String but in
io.swagger.models.properties.Property is used as example object. Is plan to fix it or any posibility to to override springfox.documentation.swagger2.mappers.ModelMapper to put object instead String.

Thanks David

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0