Skip to content

Commit

Permalink
Merge pull request #13 from AdobeDocs/melissa/request-interceptor
Browse files Browse the repository at this point in the history
test requestInterceptor
  • Loading branch information
melissag-ensemble authored Jul 12, 2024
2 parents 456380d + 4ecb21d commit 8e02e16
Show file tree
Hide file tree
Showing 2 changed files with 1,062 additions and 27 deletions.
10 changes: 9 additions & 1 deletion src/pages/api-full/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@
layout: none
---

<RedoclyAPIBlock src="https://developer-stage.adobe.com/redocly-test/openapi/openapi.yaml" width="600px" />
<RedoclyAPIBlock
src="/redocly-test/openapi/openapi.yaml"
requestInterceptor="
function(req, operation) {
console.log('Args:', req, operation);
return req;
}
"
/>
Loading

0 comments on commit 8e02e16

Please sign in to comment.