New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@kubb/plugin-oas

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kubb/plugin-oas - npm Package Compare versions

Comparing version 0.0.0-canary-20250121223537 to 0.0.0-canary-20250122180027

@@ -1,6 +0,6 @@

import { S as Schema } from './Schema-BZZ5PnvL.js';
import { S as Schema } from './Schema-BhKPR3fk.js';
import * as react from 'react';
import { Operation as Operation$1, Oas as Oas$1 } from '@kubb/oas';
import { KubbNode } from '@kubb/react/types';
import { b as OperationGenerator } from './OperationGenerator-4qu2F0-Y.js';
import { b as OperationGenerator } from './OperationGenerator-ID776sgX.js';
import '@kubb/core';

@@ -7,0 +7,0 @@ import '@kubb/fs/types';

@@ -1,2 +0,2 @@

import { o as Generator, P as PluginOas } from './OperationGenerator-4qu2F0-Y.js';
import { o as Generator, P as PluginOas } from './OperationGenerator-ID776sgX.js';
import '@kubb/core';

@@ -3,0 +3,0 @@ import '@kubb/fs/types';

@@ -5,4 +5,4 @@ import { Oas, Operation, HttpMethod } from '@kubb/oas';

import { Mode } from '@kubb/fs/types';
import { w as OperationSchemas, f as Schema } from './OperationGenerator-4qu2F0-Y.js';
import { a as SchemaContextProps } from './Schema-BZZ5PnvL.js';
import { w as OperationSchemas, f as Schema } from './OperationGenerator-ID776sgX.js';
import { a as SchemaContextProps } from './Schema-BhKPR3fk.js';
import '@kubb/react/types';

@@ -9,0 +9,0 @@ import 'react';

@@ -1,2 +0,2 @@

import { SchemaGenerator, schemaKeywords } from './chunk-UM5H72MU.js';
import { SchemaGenerator, schemaKeywords } from './chunk-ZGRPPBK4.js';
import './chunk-XNCEFOE6.js';

@@ -3,0 +3,0 @@ import { Oas, Operation, Schema } from './chunk-BAU7PO7T.js';

@@ -1,3 +0,3 @@

import { O as Options, P as PluginOas } from './OperationGenerator-4qu2F0-Y.js';
export { A as API, E as Exclude, o as Generator, p as GeneratorOptions, G as GetSchemaGeneratorOptions, I as Include, b as OperationGenerator, a as OperationMethodResult, v as OperationSchema, w as OperationSchemas, x as OperationsByMethod, y as Override, R as ReactGeneratorOptions, r as Ref, t as Refs, q as ResolvePathOptions, u as Resolver, f as Schema, e as SchemaGenerator, S as SchemaGeneratorBuildOptions, c as SchemaGeneratorOptions, h as SchemaKeyword, i as SchemaKeywordBase, j as SchemaKeywordMapper, k as SchemaMapper, d as SchemaMethodResult, g as SchemaTree, m as createGenerator, n as createReactGenerator, l as isKeyword, s as schemaKeywords } from './OperationGenerator-4qu2F0-Y.js';
import { O as Options, P as PluginOas } from './OperationGenerator-ID776sgX.js';
export { A as API, E as Exclude, o as Generator, p as GeneratorOptions, G as GetSchemaGeneratorOptions, I as Include, b as OperationGenerator, a as OperationMethodResult, v as OperationSchema, w as OperationSchemas, x as OperationsByMethod, y as Override, R as ReactGeneratorOptions, r as Ref, t as Refs, q as ResolvePathOptions, u as Resolver, f as Schema, e as SchemaGenerator, S as SchemaGeneratorBuildOptions, c as SchemaGeneratorOptions, h as SchemaKeyword, i as SchemaKeywordBase, j as SchemaKeywordMapper, k as SchemaMapper, d as SchemaMethodResult, g as SchemaTree, m as createGenerator, n as createReactGenerator, l as isKeyword, s as schemaKeywords } from './OperationGenerator-ID776sgX.js';
import * as _kubb_core from '@kubb/core';

@@ -4,0 +4,0 @@ import '@kubb/fs/types';

@@ -5,4 +5,4 @@ import { jsonGenerator } from './chunk-Y2G53DHK.js';

import './chunk-R47XMJ32.js';
import { SchemaGenerator } from './chunk-UM5H72MU.js';
export { SchemaGenerator, isKeyword, schemaKeywords } from './chunk-UM5H72MU.js';
import { SchemaGenerator } from './chunk-ZGRPPBK4.js';
export { SchemaGenerator, isKeyword, schemaKeywords } from './chunk-ZGRPPBK4.js';
import { getSchemas } from './chunk-XNCEFOE6.js';

@@ -9,0 +9,0 @@ import './chunk-BAU7PO7T.js';

@@ -5,4 +5,4 @@ import { Operation, Oas, SchemaObject, OpenAPIV3, OpenAPIV3_1 } from '@kubb/oas';

import { Params } from '@kubb/react/types';
import { v as OperationSchema } from './OperationGenerator-4qu2F0-Y.js';
export { z as GetSchemasProps, B as getSchemas } from './OperationGenerator-4qu2F0-Y.js';
import { v as OperationSchema } from './OperationGenerator-ID776sgX.js';
export { z as GetSchemasProps, B as getSchemas } from './OperationGenerator-ID776sgX.js';
import { Config, Output } from '@kubb/core';

@@ -9,0 +9,0 @@ import '@kubb/fs/types';

{
"name": "@kubb/plugin-oas",
"version": "0.0.0-canary-20250121223537",
"version": "0.0.0-canary-20250122180027",
"description": "Generator swagger",

@@ -79,6 +79,6 @@ "keywords": [

"remeda": "^2.19.2",
"@kubb/core": "0.0.0-canary-20250121223537",
"@kubb/fs": "0.0.0-canary-20250121223537",
"@kubb/oas": "0.0.0-canary-20250121223537",
"@kubb/react": "0.0.0-canary-20250121223537"
"@kubb/core": "0.0.0-canary-20250122180027",
"@kubb/fs": "0.0.0-canary-20250122180027",
"@kubb/oas": "0.0.0-canary-20250122180027",
"@kubb/react": "0.0.0-canary-20250122180027"
},

@@ -90,7 +90,7 @@ "devDependencies": {

"typescript": "^5.7.3",
"@kubb/config-ts": "0.0.0-canary-20250121223537",
"@kubb/config-tsup": "0.0.0-canary-20250121223537"
"@kubb/config-ts": "0.0.0-canary-20250122180027",
"@kubb/config-tsup": "0.0.0-canary-20250122180027"
},
"peerDependencies": {
"@kubb/react": "0.0.0-canary-20250121223537"
"@kubb/react": "0.0.0-canary-20250122180027"
},

@@ -97,0 +97,0 @@ "engines": {

@@ -860,2 +860,3 @@ import { BaseGenerator, type FileMetaBase } from '@kubb/core'

const items = this.parse({ schema: 'items' in schema ? (schema.items as SchemaObject) : [], name, parentName })
const unique = !!schema.uniqueItems

@@ -869,2 +870,3 @@ return [

max,
unique,
},

@@ -871,0 +873,0 @@ },

@@ -28,3 +28,3 @@ import type * as KubbFile from '@kubb/fs/types'

keyword: 'array'
args: { items: Schema[]; min?: number; max?: number }
args: { items: Schema[]; min?: number; max?: number; unique?: boolean }
}

@@ -31,0 +31,0 @@ enum: {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet