mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
Remove axios in favour of native in API docs (#7312)
Massive thanks to @thomasheartman for digging around GitHub and figuring out how to do this. Regrettably it doesn't use the native fetch, which is what I thought it would do. It's more code so I'm happy to close it but I still think it's worth the discussion Before this PR:  After this PR: 
This commit is contained in:
parent
f80726ddb6
commit
a31cbec17a
@ -183,6 +183,47 @@ module.exports = {
|
||||
'swift',
|
||||
],
|
||||
},
|
||||
languageTabs: [
|
||||
{
|
||||
highlight: 'bash',
|
||||
language: 'curl',
|
||||
},
|
||||
{
|
||||
highlight: 'python',
|
||||
language: 'python',
|
||||
variant: 'requests',
|
||||
},
|
||||
{
|
||||
highlight: 'go',
|
||||
language: 'go',
|
||||
},
|
||||
{
|
||||
highlight: 'javascript',
|
||||
language: 'nodejs',
|
||||
variant: 'native',
|
||||
},
|
||||
{
|
||||
highlight: 'ruby',
|
||||
language: 'ruby',
|
||||
},
|
||||
{
|
||||
highlight: 'csharp',
|
||||
language: 'csharp',
|
||||
variant: 'httpclient',
|
||||
},
|
||||
{
|
||||
highlight: 'php',
|
||||
language: 'php',
|
||||
},
|
||||
{
|
||||
highlight: 'java',
|
||||
language: 'java',
|
||||
},
|
||||
{
|
||||
highlight: 'powershell',
|
||||
language: 'powershell',
|
||||
},
|
||||
],
|
||||
footer: {
|
||||
style: 'dark',
|
||||
links: [
|
||||
|
Loading…
Reference in New Issue
Block a user