
Product
Redesigned Repositories Page: A Faster Way to Prioritize Security Risk
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
@scalar/api-reference-react
Advanced tools
npm install @scalar/api-reference-react
import { ApiReferenceReact } from '@scalar/api-reference-react'
import React from 'react'
function App() {
return (
<ApiReferenceReact
configuration={{
spec: {
url: 'https://petstore3.swagger.io/api/v3/openapi.json',
},
}}
/>
)
}
export default App
You can find an example in this repo under examples/react
ApiReference only takes one prop which is the configuration object.
You can find the full configuration options under packages/api-reference.
FAQs
The react client only integration for api references
The npm package @scalar/api-reference-react receives a total of 11,150 weekly downloads. As such, @scalar/api-reference-react popularity was classified as popular.
We found that @scalar/api-reference-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Multiple deserialization flaws in PyTorch Lightning could allow remote code execution when loading untrusted model files, affecting versions up to 2.4.0.
Security News
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.