Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a=>z sorting with swaggerOptions #243

Merged
merged 1 commit into from
Oct 19, 2022
Merged

Conversation

cweave
Copy link
Contributor

@cweave cweave commented Oct 19, 2022

Created schemaOptions to pass to swaggerUi. Sorts the schemas A=>Z.

Resolves #242

const schemaOptions = {
    swaggerOptions: {
        dom_id: "#swagger-ui",
        tagsSorter: "alpha",
        operationsSorter: "alpha"
    }
};

@ageddesi ageddesi merged commit 5621ab8 into ageddesi:dev Oct 19, 2022
@ageddesi
Copy link
Owner

Hi @cweave Thank you for the contribution. I was literally thinking about this yesterday. Happy Hacktoberfest 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort Schemas A=>Z
2 participants