Skip to content

Invalidation problem of @Schema annotation #2415

@tri5m

Description

@tri5m

Describe the bug
When I mark a field that only starts with a lowercase letter, the description of the field cannot be displayed on swagger ui,

To Reproduce
such as:
private string hCity
private string hTitle
But in other It is normal under certain circumstances, such as userName,id.

  • What version of spring-boot you are using?
  • springboot 2.7.7
  • What modules and versions of springdoc-openapi are you using?
  • 1.7.0
  • A clear and concise description of what you expected to happen.
  • Field descriptions starting with a single lowercase letter can be displayed normally.

Screenshots
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions