Skip to content

Default Media Type application/xml is selected by default #2671

Closed
@x-carrier

Description

@x-carrier

Describe the bug
I wrote an interface,produces = {"application/json", "application/xml"}, consumes = {"application/json", "application/xml"}
image
When the springdoc version was 2.5.0, application/json was selected by default
image
image
But when I switched to 2.6.0, the default choice changed to application/xml
image
image
I haven't changed anything except the version number of springdoc and I would like to know how to configure the Media type to return to the default application/json value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions