Skip to content

Commit

Permalink
generate code samples
Browse files Browse the repository at this point in the history
  • Loading branch information
melissag-ensemble committed Jun 14, 2024
1 parent b786772 commit 8c7ec6a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 8c7ec6a

Please sign in to comment.