Skip to content

The sorting of paths just sort the first JSON depth #126

@Clement-Cardot

Description

@Clement-Cardot

Hi,
I'm using this plugin to generate a JSON from my jaxrs/jersey api source code.
At each new generation, some elements of my generated JSON switch places.
It's always properties from schemas that are directly defined inside a path and not in the components -> schemas section...

After debugging the plugin / reading the source code, it seems that we just sort the Paths with a TreeMap (so the first layer off data) but we don't go further...

Could we integrate the sortSchema method inside the sortPath method ?

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