You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@hey-api/openapi-ts

Package Overview
Dependencies
Maintainers
1
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hey-api/openapi-ts - npm Package Compare versions

Comparing version

to
0.73.0

dist/chunk-QUDCWAFW.js

10

dist/index.d.ts

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

import { P as PluginHandler, S as StringCase, U as UserConfig, C as Client, I as IR } from './types.d-DtkupL5A.js';
export { b as Client, L as LegacyIR, O as OpenApi, a as OpenApiSchemaObject, c as Plugin, d as defaultPlugins } from './types.d-DtkupL5A.js';
import { P as PluginHandler, S as StringCase, U as UserConfig, C as Client, I as IR } from './types.d-CAqtwzfv.js';
export { b as Client, L as LegacyIR, O as OpenApi, a as OpenApiSchemaObject, c as Plugin, d as defaultPlugins } from './types.d-CAqtwzfv.js';
import 'node:fs';
import 'typescript';
declare const defaultPaginationKeywords: readonly ["after", "before", "cursor", "offset", "page", "start"];
declare const clientDefaultConfig: {

@@ -10,3 +12,3 @@ readonly _dependencies: readonly ["@hey-api/typescript"];

readonly baseUrl: true;
readonly bundle: false;
readonly bundle: true;
readonly exportFromIndex: false;

@@ -38,2 +40,2 @@ readonly output: "client";

export { IR, UserConfig, clientDefaultConfig, clientPluginHandler, createClient, defineConfig, utils };
export { IR, UserConfig, clientDefaultConfig, clientPluginHandler, createClient, defaultPaginationKeywords, defineConfig, utils };

4

dist/internal.d.ts
import { JSONSchema } from '@hey-api/json-schema-ref-parser';
import { e as Config, I as IR, W as WatchValues } from './types.d-DtkupL5A.js';
export { i as initConfigs } from './types.d-DtkupL5A.js';
import { e as Config, I as IR, W as WatchValues } from './types.d-CAqtwzfv.js';
export { i as initConfigs } from './types.d-CAqtwzfv.js';
import 'node:fs';

@@ -5,0 +5,0 @@ import 'typescript';

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

import {createRequire}from'module';export{r as getSpec,F as initConfigs,A as parseOpenApiSpec}from'./chunk-LC3ZVK3Y.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
import {createRequire}from'module';export{r as getSpec,G as initConfigs,B as parseOpenApiSpec}from'./chunk-QUDCWAFW.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
//# sourceMappingURL=internal.js.map
{
"name": "@hey-api/openapi-ts",
"version": "0.72.2",
"version": "0.73.0",
"description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.",

@@ -99,2 +99,3 @@ "homepage": "https://heyapi.dev/",

"node-fetch": "3.3.2",
"nuxt": "3.14.1592",
"prettier": "3.4.2",

@@ -104,5 +105,5 @@ "ts-node": "10.9.2",

"typescript": "5.8.3",
"vue": "3.5.13",
"yaml": "2.8.0",
"@config/vite-base": "0.0.1",
"@hey-api/client-core": "0.2.1"
"@config/vite-base": "0.0.1"
},

@@ -109,0 +110,0 @@ "scripts": {

@@ -123,4 +123,3 @@ <div align="center">

-i https://get.heyapi.dev/hey-api/backend \
-o src/client \
-c @hey-api/client-fetch
-o src/client
```

@@ -130,4 +129,2 @@

Before you can make API requests with the client you've just created, you need to install `@hey-api/client-fetch` and configure it.
## Installation

@@ -138,3 +135,3 @@

```sh
npm install @hey-api/client-fetch && npm install @hey-api/openapi-ts -D
npm install @hey-api/openapi-ts -D
```

@@ -145,3 +142,3 @@

```sh
pnpm add @hey-api/client-fetch && pnpm add @hey-api/openapi-ts -D
pnpm add @hey-api/openapi-ts -D
```

@@ -152,3 +149,3 @@

```sh
yarn add @hey-api/client-fetch && yarn add @hey-api/openapi-ts -D
yarn add @hey-api/openapi-ts -D
```

@@ -159,3 +156,3 @@

```sh
bun add @hey-api/client-fetch && bun add @hey-api/openapi-ts -D
bun add @hey-api/openapi-ts -D
```

@@ -187,3 +184,2 @@

output: 'src/client',
plugins: ['@hey-api/client-fetch'],
});

@@ -204,3 +200,2 @@ ```

output: 'src/client',
plugins: ['@hey-api/client-fetch'],
});

@@ -216,3 +211,2 @@ ```

output: 'src/client',
plugins: ['@hey-api/client-fetch'],
};

@@ -228,3 +222,2 @@ ```

output: 'src/client',
plugins: ['@hey-api/client-fetch'],
};

@@ -231,0 +224,0 @@ ```

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 too big to display

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