@har-sdk/types
TypeScript icon, indicating that this package has built-in type declarations

1.1.9 • Public • Published

@har-sdk/types

THIS PACKAGE HAS BEEN DEPRECATED. THE DEVELOPMENT HAS MOVED TO A @HAR-SDK/CORE PACKAGE

Types for OpenAPI and Postman documents

Setup

npm i --save @har-sdk/types

Usage

import { OpenAPIV2, isOASV2 } from '@har-sdk/types';

const apiDoc = {
  swagger: '2.0',
  host: 'localhost',
  info: {
    title: 'Some valid API document'
  },
  paths: {}
} as OpenAPIV2.Document;

isOASV2(apiDoc); // returns true

Package Sidebar

Install

npm i @har-sdk/types

Weekly Downloads

1

Version

1.1.9

License

MIT

Unpacked Size

4.32 kB

Total Files

12

Last publish

Collaborators

  • pmstss
  • derevnjuk