{"name":"swagger-client","version":"2.1.7","author":{"name":"Tony Tam","email":"fehguy@gmail.com"},"license":"Apache-2.0","_id":"swagger-client@2.1.7","maintainers":[{"name":"swagger-api","email":"apiteam@helloreverb.com"}],"contributors":[{"name":"Jeremy Whitlock","email":"jcscoobyrs@gmail.com"}],"homepage":"http://swagger.io","bugs":{"url":"https://github.com/swagger-api/swagger-js/issues"},"dist":{"shasum":"b46afdb3a6d8f24f85bf70e956e447cb0eb13660","tarball":"http://registry-npm.ywwl.com/swagger-client/download/swagger-client-2.1.7.tgz","integrity":"sha512-Ive3gqRQSD0hY1Ab1dilFHqKHm3Sf6OKbhsQg6XsKFZHNqVHM2csi9h1rA7komPU+twZZpMj9QjgL+lpEcdzLg==","signatures":[{"sig":"MEUCIQCInhgK+v7C0nwT0myy7Qb3ZRMrd7dH+8TmKvOZ/AHHZwIgaGOB1Luo0rwqVFr9HOywozVFgQMwOOLKiULOHjwh0OA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":633089,"noattachment":false,"key":"/swagger-client/-/swagger-client-2.1.7.tgz"},"main":"index.js","_from":".","files":["LICENSE","lib","browser","index.js"],"_shasum":"b46afdb3a6d8f24f85bf70e956e447cb0eb13660","engines":{"node":">= 0.6.6"},"gitHead":"1727d56ca59453cf34bea164e6260a21a5809d1b","scripts":{"dev":"gulp watch","test":"gulp test","build":"gulp build","browsertest":"gulp browsertest"},"_npmUser":{"name":"swagger-api","email":"apiteam@swagger.io"},"deprecated":"No longer maintained, please upgrade to swagger-client@3.","repository":{"url":"git+https://github.com/swagger-api/swagger-js.git","type":"git"},"_npmVersion":"2.14.3","description":"swagger-client is a javascript client for use with swaggering APIs.","directories":{},"_nodeVersion":"4.1.0","dependencies":{"q":"^1.4.1","btoa":"^1.1.2","js-yaml":"^3.3.0","cookiejar":"^2.0.1","superagent":"^1.2","lodash-compat":"^3.5.0"},"devDependencies":{"del":"^1.1.1","brfs":"^1.4.0","chai":"^2.3.0","gulp":"^3.8.10","async":"^0.9.0","karma":"^0.12.35","mocha":"^1.21.3","expect":"1.4.0","unit.js":"^2.0.0","faux-jax":"^4.0.0","uglifyify":"^3.0.1","browserify":"^9.0.3","gulp-mocha":"^2.0.0","gulp-buffer":"0.0.2","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","http-server":"git://github.com/nodeapps/http-server.git","karma-mocha":"^0.1.10","connect-cors":"^0.5.6","gulp-connect":"^2.2.0","gulp-istanbul":"^0.5.0","object.assign":"^3.0.0","jshint-stylish":"^1.0.1","karma-browserify":"^4.2.1","selenium-webdriver":"^2.45.1","vinyl-source-stream":"^1.1.0","karma-firefox-launcher":"^0.1.6","karma-source-map-support":"^1.0.0"},"readme":"# Swagger Client <img src=\"https://raw.githubusercontent.com/swagger-api/swagger.io/wordpress/images/assets/SW-logo-clr.png\" height=\"50\" align=\"right\">\n\n[![Build Status](https://github.com/swagger-api/swagger-js/actions/workflows/nodejs.yml/badge.svg)](https://github.com/swagger-api/swagger-js/actions)\n\n**Swagger Client** is a JavaScript module that allows you to fetch, resolve, and interact with Swagger/OpenAPI documents.\n\n## New!\n\n**This is the new version of swagger-js, 3.x.** The new version supports Swagger 2.0 as well as OpenAPI 3.\n\nWant to learn more? Check out our [FAQ](docs/migration/migration-2-x-to-3-x.md).\n\nFor features known to be missing from 3.x please see the [Graveyard](docs/migration/graveyard-3-x.md).\n\n\nFor the older version of swagger-js, refer to the [*2.x branch*](https://github.com/swagger-api/swagger-js/tree/2.x).\n\n> *The npm package is called `swagger-client` and the GitHub repository is `swagger-js`.\nWe'll be consolidating that soon. Just giving you the heads-up. You may see references to both names.*\n\n## Compatibility\nThe OpenAPI Specification has undergone multiple revisions since initial creation in 2010. \nCompatibility between Swagger Client and the OpenAPI Specification is as follows:\n\nSwagger Client Version | Release Date | OpenAPI Spec compatibility             | Notes\n------------------ |--------------|----------------------------------------| -----\n3.19.x | 2023-01-23   | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0 | [tag v3.19.0-alpha.3](https://github.com/swagger-api/swagger-js/releases/tag/v3.19.0-alpha.3)\n3.10.x | 2020-01-17   | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3        | [tag v3.10.0](https://github.com/swagger-api/swagger-js/tree/v3.10.0)\n2.1.32 | 2017-01-12   | 1.0, 1.1, 1.2                          | [tag v2.1.32](https://github.com/swagger-api/swagger-js/tree/v2.1.32). This [release](https://github.com/swagger-api/swagger-js/releases/tag/v2.1.32) is only available on GitHub.\n\n## Documentation\n\n#### Usage\n\n- [Installation](docs/usage/installation.md)\n- [Tags Interface](docs/usage/tags-interface.md)\n- [HTTP client for OAS operations](docs/usage/http-client-for-oas-operations.md)\n- [OpenAPI Definition Resolver](docs/usage/openapi-definition-resolver.md)\n- [HTTP Client](docs/usage/http-client.md)\n- [Swagger Client API](docs/usage/api.md)\n\n#### Development\n\n- [Contributing](https://github.com/swagger-api/.github/blob/master/CONTRIBUTING.md)\n- [Setting up](docs/development/setting-up.md)\n- [Scripts](docs/development/scripts.md)\n\n#### Migrations \n\n- [Migration guide](docs/migration/migration-2-x-to-3-x.md)\n- [Graveyard](docs/migration/graveyard-3-x.md)\n\n### Runtime \n\n### Node.js\n\n`swagger-client` requires Node.js `>=12.20.0` and uses different `fetch` implementation depending\non Node.js version.\n\n- `>=12.20.0 <18` - [node-fetch@3](https://www.npmjs.com/package/node-fetch) \n- `>=18` - [native Node.js fetch](https://nodejs.org/dist/latest-v18.x/docs/api/globals.html#fetch)\n\n> NOTE: swagger-client minimum Node.js runtime version aligns with [Node.js Releases](https://nodejs.org/en/about/releases/)\n> which means that we can drop support for **EOL** (End Of Life) Node.js versions without doing major version bump.\n\n### Browsers\n\n`swagger-client` works in the latest versions of Chrome, Safari, Firefox, and Edge\nand uses [native fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) implementation\nprovided by each supported browser.\n\n## Security contact\n\nPlease disclose any security-related issues or vulnerabilities by emailing [security@swagger.io](mailto:security@swagger.io), instead of using the public issue tracker.\n","publish_time":1447856470256,"_cnpm_publish_time":1447856470256,"dist-tags":{"alpha":"3.19.0-alpha.4","beta":"3.19.0-beta.8","latest":"3.39.0"}}