🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@nextunicorn/json-to-swagger-schema

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextunicorn/json-to-swagger-schema

generate swagger schema from json string

latest
npmnpm
Version
0.1.2
Version published
Maintainers
2
Created
Source

Json to Swagger Schema

Install

npm i @nextunicorn/json-to-swagger-schema --save

Usage

import jsonToSwaggerSchema from "@nextunicorn/json-to-swagger-schema";

const MyObjectSchmea = jsonToSwaggerSchema({
    myKey: 'string',
    isNumber: 1,
})

Keywords

swagger

FAQs

Package last updated on 18 Oct 2022

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