
Company News
Socket Named to Rising in Cyber 2026 List of Top Cybersecurity Startups
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.
@devidw/trpc-openapi
Advanced tools
in your script where you generate your specs you can now pass a object of the
schemas you want to be defined as components/schemas in the output doc
import { generateOpenApiDocument } from "trpc-openapi";
import { z } from "zod";
const SomeSchema = z.object({
a: z.literal(69),
});
generateOpenApiDocument(appRouter, {
// ...
defs: {
SomeSchema,
},
});
which will be included in the response object definition like
{
"$ref": "#/components/schemas/SomeSchema"
}
and in the actual schemas list like
{
"components": {
"schemas": {
"SomeSchema": "..."
}
}
}
FAQs
tRPC OpenAPI
We found that @devidw/trpc-openapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.

Research
Socket detected 84 compromised TanStack npm package artifacts modified with suspected CI credential-stealing malware.

Security News
A dispute over fsnotify maintainer access set off supply chain alarms around one of Go’s most widely used filesystem libraries.