
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
@types/ibm-openapi-validator
Advanced tools
TypeScript definitions for ibm-openapi-validator
npm install --save @types/ibm-openapi-validator
This package contains type definitions for ibm-openapi-validator (https://github.com/IBM/openapi-validator#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ibm-openapi-validator.
interface validatorResultItem {
path: string;
message: string;
}
interface validatorResult {
errors: [] | [validatorResultItem];
warnings: [] | [validatorResultItem];
}
/**
* @default false
*/
type validatorParameterDefaultMode = boolean;
/**
* OpenAPI document validator
* @param openApiDoc - OpenAPI document object
* @param defaultMode - If set to true, the validator will ignore the .validaterc file and will use the [configuration defaults](https://github.com/IBM/openapi-validator#default-values).
* @returns Validation results
*/
declare function validator(
openApiDoc: { [property: string]: any },
defaultMode?: validatorParameterDefaultMode,
): Promise<validatorResult>;
export = validator;
These definitions were written by Rifa Achrinza.
FAQs
TypeScript definitions for ibm-openapi-validator
The npm package @types/ibm-openapi-validator receives a total of 74 weekly downloads. As such, @types/ibm-openapi-validator popularity was classified as not popular.
We found that @types/ibm-openapi-validator 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
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.