
Security News
arXiv Is Rate Limiting Authors Following a Flood of AI Slop Submissions
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.
@kubb/adapter-oas
Advanced tools
OpenAPI and Swagger adapter for Kubb. Parses and validates OAS 2.0/3.x specifications into a @kubb/ast RootNode for downstream code generation plugins.
Parses and validates Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1 specifications and transforms them into a @kubb/ast RootNode for downstream code generation plugins.
bun add @kubb/adapter-oas
# or
pnpm add @kubb/adapter-oas
# or
npm install @kubb/adapter-oas
Use adapterOas inside your kubb.config.ts:
import { defineConfig } from 'kubb'
import { adapterOas } from '@kubb/adapter-oas'
export default defineConfig({
input: './openapi.yaml',
output: {
path: './src/gen',
},
adapter: adapterOas(),
})
input accepts a file path, a URL, an inline JSON or YAML string, or a parsed spec object.
adapterOas(options?)Creates the OAS adapter instance. Pass it as adapter in defineConfig.
adapterOasNameThe adapter's name, 'oas'. Use it to identify this adapter in a Kubb config.
The package re-exports the OpenAPI types it works with: ContentType, DiscriminatorObject, Document,
MediaTypeObject, Operation, ReferenceObject, ResponseObject, and SchemaObject. Its own option types are
AdapterOas, AdapterOasOptions, and AdapterOasResolvedOptions.
Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
FAQs
OpenAPI and Swagger adapter for Kubb. Parses and validates OAS 2.0/3.x specifications into a @kubb/ast RootNode for downstream code generation plugins.
The npm package @kubb/adapter-oas receives a total of 55,777 weekly downloads. As such, @kubb/adapter-oas popularity was classified as popular.
We found that @kubb/adapter-oas 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.

Security News
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.

Research
/Security News
A new GhostAction wave hits hundreds of GitHub repos, expanding CI/CD secret theft to cloud and AI credentials in source code and git history.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.