Skip to content

Feature request: A function to sort everything #115

@chris-martin

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.

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