Skip to content

String with format byte (base64) is being an array of strings and not a string #1559

@weesftw

Description

@weesftw

When I'm creating an object and it has an attribute of type String with the format: byte (base64), the documentation view (UI) converts this type to an array of strings and not just a string...

  • spring-boot version 2.6.4
  • Using springdoc-openapi-ui version 1.6.6

Source code for example and swagger.yaml.

swagger

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions