Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swagger-parser

Package Overview
Dependencies
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-parser - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

lib/index.js
/**!
* Swagger Parser v3.0.0
* Swagger Parser v3.0.1
*

@@ -4,0 +4,0 @@ * @link https://github.com/BigstickCarpet/swagger-parser

{
"name": "swagger-parser",
"version": "3.0.0",
"version": "3.0.1",
"description": "Swagger 2.0 parser and validator for Node and browsers",

@@ -75,3 +75,3 @@ "keywords": [

"debug": "^2.2.0",
"json-schema-ref-parser": "^1.2.4",
"json-schema-ref-parser": "^1.2.6",
"ono": "^1.0.22",

@@ -78,0 +78,0 @@ "swagger-methods": "^1.0.0",

@@ -21,5 +21,4 @@ Swagger Parser

--------------------------
- [Online Demo](http://bigstickcarpet.com/swagger-parser/)
- Parses Swagger specs in **JSON** or **YAML** format
- [Validates](docs/swagger-parser.md#validateapi-options-callback) against the [Swagger 2.0 schema](https://github.com/reverb/swagger-spec/blob/master/schemas/v2.0/schema.json) _and_ the [Swagger 2.0 spec](https://github.com/reverb/swagger-spec/blob/master/versions/2.0.md)
- Validates against the [Swagger 2.0 schema](https://github.com/reverb/swagger-spec/blob/master/schemas/v2.0/schema.json) _and_ the [Swagger 2.0 spec](https://github.com/reverb/swagger-spec/blob/master/versions/2.0.md)
- [Resolves](docs/swagger-parser.md#resolveapi-options-callback) all `$ref` pointers, including external files and URLs

@@ -29,8 +28,15 @@ - Can [bundle](docs/swagger-parser.md#bundleapi-options-callback) all your Swagger files into a single file that only has _internal_ `$ref` pointers

- Configurable caching of external files and URLs
- [Tested](http://bigstickcarpet.github.io/swagger-parser/tests/index.html) in Node, IO.js, and all modern web browsers on Mac, Windows, Linux, iOS, and Android
- Tested on [over 100 real-world APIs](https://github.com/APIs-guru/api-models) from Google, Instagram, etc.
- **[Tested](http://bigstickcarpet.github.io/swagger-parser/tests/index.html)** in Node, IO.js, and all modern web browsers on Mac, Windows, Linux, iOS, and Android
- Tested on **[over 100 real-world APIs](https://github.com/APIs-guru/api-models)** from Google, Instagram, etc.
- Supports [circular references](docs/README.md#circular-refs), nested references, back-references, and cross-references
- Maintains object reference equality &mdash `$ref` pointers to the same value always resolve to the same object instance
- Maintains object reference equality — `$ref` pointers to the same value always resolve to the same object instance
Related Projects
--------------------------
- [Swagger Parser Online](http://bigstickcarpet.com/swagger-parser/)
- [Swagger CLI](https://github.com/BigstickCarpet/swagger-cli)
- [Swagger Express Middleware](https://github.com/BigstickCarpet/swagger-express-middleware)
Example

@@ -37,0 +43,0 @@ --------------------------

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc