redoc/src/services
flouthoc 831b207715
MenuBuilder: Add support for sortOperationsAlphabetically and sortTagsAlphabetically (#1843)
* operations: Add support for sortOperationsAlphabetically

Already documented but is currently `NO-OP` and not implemented
`sortOperationsAlphabetically`.

Allows sorting operations in sidebar menu according to their `name`
configured which is by default `summary` from Swaggerspec

TLDR:
Following commit adds support for `sortOperationsAlphabetically` already
documented but not implemented here: https://redoc.ly/docs/api-reference-docs/guides/migration-guide-2-0/#automated-sorting

Signed-off-by: flouthoc <flouthoc.git@gmail.com>

* feat: move sort by prop to utils functions

* feat: add ability to sort tags

Co-authored-by: Oprysk <vyacheslav@redocly.com>
2021-12-30 14:31:00 +02:00
..
__tests__ chore: fix broken test & components refactoring 2021-12-14 11:10:39 +02:00
models chore: fix broken test & components refactoring 2021-12-14 11:10:39 +02:00
AppStore.ts feat: add basic support openApi 3.1 (#1622) 2021-05-31 19:23:05 +03:00
ClipboardService.ts chore: update deps 2019-07-29 18:41:57 +03:00
HistoryService.ts fix: deep linking sometimes not working when sent over messengers 2019-05-13 09:51:58 +03:00
index.ts feat: add marker 2018-03-05 16:21:16 +02:00
Labels.ts fix: No match scenario in search (#1667) 2021-10-11 17:34:20 +03:00
MarkdownRenderer.ts chore: bump marked version 2021-12-14 11:10:39 +02:00
MarkerService.ts tests: add MarkerService tests 2018-03-17 23:23:14 +02:00
MenuBuilder.ts MenuBuilder: Add support for sortOperationsAlphabetically and sortTagsAlphabetically (#1843) 2021-12-30 14:31:00 +02:00
MenuStore.ts Use an option usePathInSidebar (#1805) 2021-12-08 15:53:14 +02:00
OpenAPIParser.ts chore: run prettier & add husky pre-commit hook (#1800) 2021-11-24 16:11:45 +02:00
RedocNormalizedOptions.ts MenuBuilder: Add support for sortOperationsAlphabetically and sortTagsAlphabetically (#1843) 2021-12-30 14:31:00 +02:00
ScrollService.ts chore: prettier all 2020-03-17 12:01:32 +02:00
SearchStore.ts chore: run prettier & add husky pre-commit hook (#1800) 2021-11-24 16:11:45 +02:00
SearchWorker.worker.ts fix: add browser build for webpack 5 (#1796) 2021-11-29 14:27:06 +02:00
SpecStore.ts chore: run prettier & add husky pre-commit hook (#1800) 2021-11-24 16:11:45 +02:00