Skip to content

Deterministic ordering of maps in the OpenAPI response. #3475

@eak24

Description

@eak24

I've found that the ordering of the schemas and the paths can appear to be pretty random. It would be nice if these would be always alphabetically ordered... I will try switching all LinkedHashMaps and the like to be TreeMaps and see how it goes in a PR. Unless there is some profound meaning to return everything in the insertionOder? I can't imagine there is, since the read method takes in what could be an unordered set.

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