diff --git a/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js b/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js index 237345dd80..f62db7dc2c 100644 --- a/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js +++ b/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js @@ -68,6 +68,10 @@ const RedoclyAPIBlock = ({ hideTryItPanel: ${hideTryItPanel}, jsonSampleExpandLevel: ${jsonSampleExpandLevel === all ? `'${jsonSampleExpandLevel}'` : jsonSampleExpandLevel}, hideLoading: true, + generateCodeSamples: { + languages: [{ lang: 'curl' }, { lang: 'Node.js' }, { lang: 'JavaScript', label: 'JS' }], + skipOptionalParameters: true, + }, theme: { ${typography ? "typography: { " + typography + "}," : ''} rightPanel: {