
Product
Socket Now Protects the Firefox Extension Ecosystem
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.
@corralimited/snapdiff-openapi
Advanced tools
Versioned OpenAPI 3.1 specification for the SnapDiff REST API. Use as a codegen input for typed clients (openapi-typescript, openapi-fetch, orval, kiota, etc).
Versioned OpenAPI 3.1 specification for the SnapDiff REST API.
Each release of this package corresponds to a specific live-API revision — pin to a version, codegen against it, and your generated client stays in sync until you bump the dep.
npm install --save-dev @corralimited/snapdiff-openapi
# Generate TypeScript types
npx openapi-typescript node_modules/@corralimited/snapdiff-openapi/openapi.json -o src/snapdiff-types.ts
# Generate orval clients
npx orval --input node_modules/@corralimited/snapdiff-openapi/openapi.json --output src/api/
# Pair openapi-typescript + openapi-fetch for runtime calls
import createClient from 'openapi-fetch';
import type { paths } from './snapdiff-types';
const client = createClient<paths>({
baseUrl: 'https://api.snapdiff.dev/v1',
headers: { 'X-API-Key': process.env.SNAPDIFF_API_KEY! },
});
const { data, error } = await client.POST('/diff', {
body: { before: 'https://prod.example.com', after: 'https://staging.example.com' },
});
import { openapiSpec } from '@corralimited/snapdiff-openapi';
// or default import:
import spec from '@corralimited/snapdiff-openapi';
console.log(spec.info.version); // matches the live API minor version
Follows semver against API behavior:
/v1 → /v2).The same spec is also served live at https://api.snapdiff.dev/openapi.json — useful for exploration. For reproducible CI builds, prefer this package.
MIT — see LICENSE.
FAQs
Versioned OpenAPI 3.1 specification for the SnapDiff REST API. Use as a codegen input for typed clients (openapi-typescript, openapi-fetch, orval, kiota, etc).
The npm package @corralimited/snapdiff-openapi receives a total of 5 weekly downloads. As such, @corralimited/snapdiff-openapi popularity was classified as not popular.
We found that @corralimited/snapdiff-openapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.