Skip to content

Commit

Permalink
test arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
melissag-ensemble committed Sep 6, 2024
1 parent c0af4f5 commit 377febb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
path: '/guides/'
},
{
title: 'api full page',
title: 'api full page #324',
path: '/api-full/'
}
],
Expand Down
11 changes: 5 additions & 6 deletions src/pages/api-full/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ layout: none
---

<RedoclyAPIBlock
src="/redocly-test/openapi/openapi.yaml"
requestInterceptor="
function(req, operation) {
console.log('Args:', req, operation);
src="/redocly-test/openapi/openapi.yaml"
requestInterceptor=
"(req, operation) => ({
console.log('Args 2:', req, rawOperation);
return req;
}
"
})"
/>

0 comments on commit 377febb

Please sign in to comment.