JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q41877F
  • License MIT

A TS library to manage large API projects defined by OpenAPIv3 specification.

Package Exports

  • openapi-graph-core

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (openapi-graph-core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

OpenAPI-graph

A TS library to manage large API projects defined by OpenAPIv3 specification.

This library is under development, and it will likely change

Installation

Just run

npm install openapi-graph-core

and you are good to go

Creating an OpenAPI graph

The constructor needs to be a path of the root of the proyect where all your openAPI specifications are stored which will be fetched automatically.

const OpenAPIGraphs = require('openapi-graph-core');

(async () => {
    const graphs = await new OpenAPIGraphs('./').build()
    console.log(graphs)
})();