Skip to content

Feature request: A function to sort everything #115

Open

Description

@chris-martin

An OpenAPI spec contains a bunch of lists where the ordering is not significant. It would be handy to have a function that sorts all the order-insensitive lists within an OpenApi to create a somewhat normalized version of a specification for use in comparisons. For example, we have snapshot test to ensure that our spec generated by servant-openapi3 is right, and it would be nice if insignificant changes to ordering were not reflected in the snapshot.

Activity

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