Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@types/ibm-openapi-validator

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

@types/ibm-openapi-validator

TypeScript definitions for ibm-openapi-validator

    0.15.1ts3.6ts3.7ts3.8ts3.9ts4.0ts4.1ts4.2ts4.3ts4.4ts4.5ts4.6ts4.7ts4.8ts4.9ts5.0ts5.1latest
    GitHub

Version published
Maintainers
1
Weekly downloads
760
decreased by-50.36%

Weekly downloads

Readme

Source

Installation

npm install --save @types/ibm-openapi-validator

Summary

This package contains type definitions for ibm-openapi-validator (https://github.com/IBM/openapi-validator#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ibm-openapi-validator.

index.d.ts

// Type definitions for ibm-openapi-validator 0.15 // Project: https://github.com/IBM/openapi-validator#readme // Definitions by: Rifa Achrinza <https://github.com/achrinza> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.0 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;

Additional Details

  • Last updated: Thu, 08 Jul 2021 22:41:05 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Rifa Achrinza.

FAQs

Last updated on 08 Jul 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc