Skip to content

Properties order lost while converting from v2 to v3 #997

Open

Description

@fmoussallam

While both v2 and v3 models store properties in LinkedHashMaps, io.swagger.v3.parser.converter.SwaggerConverter#convert(Property schema) uses a HashMap as temporary storage, losing the properties order.

This is for version 2.0.6 but I can see issue still there on master:

Thanks

Activity

  1. jmini commented on Apr 30, 2019

    @jmini
    Contributor

    I am not maintainer of this project, but I approve such a change.

    A lot of HashMap in Swagger-core were replaced by LinkedHashMap.

  2. added a commit that references this issue on May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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