You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2023. It is now read-only.
Then I created this page in a file named developer-portal/openapi-try-it.mdx:
import { OpenApiTryIt, Alert, ExplainStep, scrollToHeading } from '@redocly/developer-portal/ui';
# Testing the openapi try it component
<OpenApiTryIt
definitionId="catFacts"
operationId="getRandomFact"
id="step-1"
onResponse={({ response }) => {
console.log(response);
}}
/>
When I run the portal locally and go to http://localhost:3000/developer-portal/openapi-try-it/ , I see an error that says Incorrect definitionId: "catFacts". What am I doing wrong? I've also tried downloading the openapi file and linking to it locally instead of putting the link in oasDefinitions.