# google-discovery-to-swagger

> Script for converting Google Discovery format into Swagger 2.0

Latest version **2.1.0** (published 2019-07-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install google-discovery-to-swagger
pnpm add google-discovery-to-swagger
yarn add google-discovery-to-swagger
bun add google-discovery-to-swagger
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2019-07-25 |
| First published | 2015-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 22.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 71 |
| Author | Ivan Goncharov |
| Maintainers | i1g, romanhotsiy |
| Keywords | API, REST, Swagger, Google, OpenAPI |

## Links

- npm: https://www.npmjs.com/package/google-discovery-to-swagger
- Repository: https://github.com/APIs-guru/google-discovery-to-swagger
- Homepage: https://github.com/APIs-guru/google-discovery-to-swagger#readme
- Issues: https://github.com/APIs-guru/google-discovery-to-swagger/issues
- npm.io page: https://npm.io/package/google-discovery-to-swagger

## Dependencies (7)

- [urijs](https://npm.io/package/urijs.md) ^1.17.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [mime-db](https://npm.io/package/mime-db.md) ^1.21.0
- [jsonpath](https://npm.io/package/jsonpath.md) ^1.0.2
- [traverse](https://npm.io/package/traverse.md) ~0.6.6
- [mime-lookup](https://npm.io/package/mime-lookup.md) ^0.0.2
- [json-schema-compatibility](https://npm.io/package/json-schema-compatibility.md) ^1.1.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 2.1.0 (latest) — 2019-07-25
- 2.0.0 — 2016-03-25
- 1.1.2 — 2016-03-17
- 1.1.1 — 2016-03-17
- 1.1.0 — 2016-02-01
- 1.0.3 — 2016-01-31
- 1.0.2 — 2016-01-07
- 1.0.1 — 2016-01-06
- 1.0.0 — 2016-01-06
- 0.0.14 — 2015-11-20
- 0.0.13 — 2015-11-17
- 0.0.12 — 2015-11-17
- 0.0.11 — 2015-11-17
- 0.0.10 — 2015-10-21
- 0.0.9 — 2015-10-20
- … 8 more at https://npm.io/package/google-discovery-to-swagger/versions

## README

# google-discovery-to-swagger

Script for converting Google Discovery format into Swagger 2.0

[![Code Climate](https://codeclimate.com/github/APIs-guru/google-discovery-to-swagger/badges/gpa.svg)](https://codeclimate.com/github/APIs-guru/google-discovery-to-swagger)

## Usage

If you need to convert some APIs from Google Discovery service I have good news for you, it is already [done](https://github.com/APIs-guru/openapi-directory/tree/master/APIs/googleapis.com) :smile:

I've developed this lib as part of my main project: [APIs.guru](https://github.com/APIs-guru/api-models) - Wikipedia for Web APIs.
  
**IMPORTANT**: don't use Github RAW links because they are subject to change.
Instead you can find direct links for any particular API in [this list](https://apis-guru.github.io/api-models/).
All OpenAPI documents are updated, validated and fixed on a weekly basis.

If you have non-Google API document in this format please consider adding it to the collection: just open an [issue](https://github.com/APIs-guru/api-models/issues/new) with link to it.

If it is an **internal** API you can use [api-spec-converter](https://github.com/lucybot/api-spec-converter) tool to do conversion for you.

## Credits
[Ivan Goncharov](https://github.com/IvanGoncharov/)

## License

MIT

---
_Source: https://npm.io/package/google-discovery-to-swagger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
