-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement x-tagGroup feature (#737)
* impement redoc's x-tagGroup feature * merge main * update documentation * fix filtered tags by group * remove tracked .idea files * add option to readme * merge main * fix lint * revert yarn.lock and linter
- Loading branch information
Showing
16 changed files
with
211 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,3 +141,4 @@ demo/**/*.schema.mdx | |
demo/**/sidebar.js | ||
demo/**/versions.json | ||
|
||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"label": "Restaurant", | ||
"collapsed": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
openapi: 3.0.3 | ||
info: | ||
title: Restaurant Example | ||
version: 1.0.0 | ||
description: Sample description. | ||
paths: | ||
/menu: | ||
get: | ||
tags: | ||
- tag1 | ||
summary: Get Menu | ||
description: Froyo's the best! | ||
responses: | ||
200: | ||
description: OK | ||
/products: | ||
get: | ||
tags: | ||
- tag1 | ||
- tag2 | ||
summary: List All Products | ||
description: Froyo's the best! | ||
responses: | ||
200: | ||
description: OK | ||
/drinks: | ||
get: | ||
tags: | ||
- tag1 | ||
- tag2 | ||
summary: List All Drinks | ||
description: Froyo's the best! | ||
responses: | ||
200: | ||
description: OK | ||
/pay: | ||
post: | ||
tags: | ||
- tag3 | ||
summary: Make Payment | ||
description: Froyo's the best! | ||
responses: | ||
200: | ||
description: OK | ||
|
||
tags: | ||
- name: tag1 | ||
description: Everything about your restaurant | ||
x-displayName: Tag 1 | ||
- name: tag2 | ||
description: Tag 2 description | ||
x-displayName: Tag 2 | ||
- name: tag3 | ||
description: Tag 3 description | ||
x-displayName: Tag 3 | ||
|
||
x-tagGroups: | ||
- name: Tag 1 & 2 | ||
tags: | ||
- tag1 | ||
- tag2 | ||
- name: Trinity | ||
tags: | ||
- tag1 | ||
- tag2 | ||
- tag3 | ||
- name: Last Two | ||
tags: | ||
- tag2 | ||
- tag3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.