Socket
Book a DemoInstallSign in
Socket

@har-sdk/types

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@har-sdk/types

**THIS PACKAGE HAS BEEN DEPRECATED. THE DEVELOPMENT HAS MOVED TO A [@HAR-SDK/CORE](https://github.com/NeuraLegion/har-sdk/tree/master/packages/oas#readme) PACKAGE**

latest
Source
npmnpm
Version
1.1.10
Version published
Weekly downloads
3
-76.92%
Maintainers
2
Weekly downloads
 
Created
Source

@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

Keywords

swagger

FAQs

Package last updated on 25 Mar 2025

Did you know?

Socket

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.

Install

Related posts