
Security News
OpenGrep Restores Fingerprinting in JSON and SARIF Outputs
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
api-gensdk
Advanced tools
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![David deps][david-image]][david-url] [![Known Vulnerabilities][snyk-image]][snyk-url] [![npm download][download-image]][down
export interface RouteMetadataType {
/** 类名 */
className: string;
/** 方法名 */
functionName: string;
/** 路由名称 */
name: string;
/** 路由描述 */
description: string;
/** http method */
method: string;
/** http url */
url: string;
/** 参数定义 */
params: {
/** 函数参数名 */
name: string,
/** 请求参数名 */
paramName: string,
/** 类型 */
type: string,
}[];
}
export class GenConfig {
/** 生成目录 */
sdkDir: string;
/** 模版目录 */
templatePath: string;
/** filename style */
camelCase?: boolean = false;
/** gen type */
type?: 'ts' | 'js' = 'ts';
}
function genAPISDK(data: RouteMetadataType[], config: GenConfig) => void
FAQs
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![David deps][david-image]][david-url] [![Known Vulnerabilities][snyk-image]][snyk-url] [![npm download][download-image]][down
The npm package api-gensdk receives a total of 1 weekly downloads. As such, api-gensdk popularity was classified as not popular.
We found that api-gensdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.