From eab557f470877e0b61eaad0ab4b70f8861edba44 Mon Sep 17 00:00:00 2001 From: Anna Bodnia Date: Wed, 26 Apr 2017 11:53:27 +0300 Subject: [PATCH] #2898 operationsSorter config description --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 71f11bc0..b9b4eec6 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ spec | A JSON object describing the OpenAPI Specification. When used, the `url` validatorUrl | By default, Swagger-UI attempts to validate specs against swagger.io's online validator. You can use this parameter to set a different validator URL, for example for locally deployed validators ([Validator Badge](https://github.com/swagger-api/validator-badge)). Setting it to `null` will disable validation. dom_id | The id of a dom element inside which SwaggerUi will put the user interface for swagger. oauth2RedirectUrl | OAuth redirect URL +operationsSorter | Apply a sort to the operation list of each API. It can be 'alpha' (sort by paths alphanumerically), 'method' (sort by HTTP method) or a function (see Array.prototype.sort() to know how sort function works). Default is the order returned by the server unchanged.