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

swagger-typescript-api

Package Overview
Dependencies
Maintainers
2
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-typescript-api - npm Package Compare versions

Comparing version

to
13.2.6

dist/src-AKvd7SbK.js
# swagger-typescript-api
## 13.2.6
### Patch Changes
- [#1306](https://github.com/acacode/swagger-typescript-api/pull/1306) [`fe125cb`](https://github.com/acacode/swagger-typescript-api/commit/fe125cb6820621447f2cbf35c8bc0604fcc466dd) Thanks [@js2me](https://github.com/js2me)! - better extracting description for request body extacting types
## 13.2.5

@@ -4,0 +10,0 @@

2

dist/cli.js
#!/usr/bin/env node
import { CodeGenConfig, HTTP_CLIENT, TemplatesGenConfig, generateApi, generateTemplates, package_default } from "./src-DW0ilIpJ.js";
import { CodeGenConfig, HTTP_CLIENT, TemplatesGenConfig, generateApi, generateTemplates, package_default } from "./src-AKvd7SbK.js";
import * as path$1 from "node:path";

@@ -4,0 +4,0 @@ import { loadConfig } from "c12";

@@ -1,4 +0,5 @@

import { __export } from "./chunk-Cl8Af3a2.js";
import * as lodash19 from "lodash";
import * as lodash14 from "lodash";
import lodash from "lodash";
import * as typescript$1 from "typescript";
import * as typescript from "typescript";

@@ -341,10 +342,3 @@ import * as eta20 from "eta";

convertRouteParamsIntoObject: (params: any) => any;
getRequestBodyInfo: (routeInfo: any, routeParams: any, parsedSchemas: any, routeName: any) => {
paramName: any;
contentTypes: any[];
contentKind: string;
schema: any;
type: any;
required: any;
};
getRequestBodyInfo: (routeInfo: any, routeParams: any, parsedSchemas: any, routeName: any) => any;
createRequestParamsSchema: ({

@@ -389,3 +383,3 @@ queryParams,

fileName: any;
fileExtension: typescript.Extension;
fileExtension: typescript$1.Extension;
fileContent: string;

@@ -1596,3 +1590,3 @@ }[]>;

NameResolver: typeof NameResolver;
_: lodash19.LoDashStatic;
_: lodash14.LoDashStatic;
require: (packageOrPath: string) => Promise<any>;

@@ -1599,0 +1593,0 @@ };

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

import { constants_exports, generateApi, generateTemplates } from "./src-DW0ilIpJ.js";
import { constants_exports, generateApi, generateTemplates } from "./src-AKvd7SbK.js";
export { constants_exports as constants, generateApi, generateTemplates };
{
"name": "swagger-typescript-api",
"version": "13.2.5",
"version": "13.2.6",
"description": "Generate the API client for Fetch or Axios from an OpenAPI Specification",

@@ -72,7 +72,7 @@ "homepage": "https://github.com/acacode/swagger-typescript-api",

"@types/lodash": "4.17.18",
"@types/node": "24.0.3",
"@types/node": "24.0.4",
"@types/swagger2openapi": "7.0.4",
"axios": "1.10.0",
"openapi-types": "12.1.3",
"tsdown": "0.12.8",
"tsdown": "0.12.9",
"typedoc": "0.28.5",

@@ -79,0 +79,0 @@ "vitest": "3.2.4"

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