New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

fluent-openapi

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-openapi

A fluent client for OpenAPI and Swagger

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

fluent-openapi

Build Status Greenkeeper badge

A fluent client for OpenAPI and Swagger.

Using

const spec = require('./swagger.json')
const { Client } = require('fluent-openapi')
const client = new Client({ spec })

API

Client(options)

options.getNames(name, ancestors) - a function to translate each path name to an alternate name or array of names. You could, for example, alias the resource "namespaces" to "namespace" and "ns".

Keywords

swagger

FAQs

Package last updated on 12 Dec 2018

Related posts