Custom swagger endpoint for docs (#3869)
* custom swagger endpoint metadata graphql remove /rest from endpoint * fixed pseudo scheme creation * move graphql playground creation to own file, added navbar to change baseurl and token * add schema switcher, fix changing url not applied, add invalid overlay * fix link color * removed path on Graphql Playground, naming fixes subdoc * - fixed overflow issue Rest docs * history replace & goBack * Small fix GraphQL playground broken --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
@ -51,13 +51,14 @@ const sidebars = {
|
||||
{
|
||||
type: 'link',
|
||||
label: 'Core API',
|
||||
href: '/rest-api/',
|
||||
href: '/rest-api/core',
|
||||
},
|
||||
{
|
||||
type: 'link',
|
||||
label: 'Metadata API',
|
||||
href: '#',
|
||||
className: 'coming-soon',
|
||||
//href: '/rest-api/metadata',
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -73,13 +74,12 @@ const sidebars = {
|
||||
{
|
||||
type: 'link',
|
||||
label: 'Core API',
|
||||
href: '/graphql/',
|
||||
href: '/graphql/core',
|
||||
},
|
||||
{
|
||||
type: 'link',
|
||||
label: 'Metadata API',
|
||||
href: '#',
|
||||
className: 'coming-soon',
|
||||
href: '/graphql/metadata',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user