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

swagger-police

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-police - npm Package Compare versions

Comparing version 0.0.2-beta to 0.0.3-beta

4

package.json
{
"name": "swagger-police",
"version": "0.0.2-beta",
"version": "0.0.3-beta",
"description": "Automatically validates the APIs against the published swagger specification",

@@ -16,3 +16,3 @@ "bin": {

"type": "git",
"url": "https://bitbucket.org/dlaha/swagger-police"
"url": "https://bitbucket.org/dipanjan21/swagger-police"
},

@@ -19,0 +19,0 @@ "dependencies": {

@@ -65,4 +65,4 @@ **swagger-police** is a command line tool for validating backend APIs against the published swagger specification. It can

**testcases** - An array of `testcase` objects to be executed. This is generated from the swagger specs. Any customisations made to the objects in the `beforeAll` hook will be reflected in the tests.
**done** - The callback function
* **testcases** - An array of `testcase` objects to be executed. This is generated from the swagger specs. Any customisations made to the objects in the `beforeAll` hook will be reflected in the tests.
* **done** - The callback function

@@ -83,4 +83,4 @@ ## `BeforeEach` and `AfterEach` ##

**testcases** - An array of `testcase` objects to be executed. This is generated from the swagger specs. Any customisations made to the objects in the `beforeAll` hook will be reflected in the tests.
**done** - The callback function
* **testcases** - An array of `testcase` objects to be executed. This is generated from the swagger specs. Any customisations made to the objects in the `beforeAll` hook will be reflected in the tests.
* **done** - The callback function

@@ -107,4 +107,4 @@ ## Testcase specific hooks ##

** 1st Argument** - The testcase name. Please note that this is case sensitive.
** 2nd argument** - An object with before and after functions which takes in testcase (The testcase object
* **1st Argument** - The testcase name. Please note that this is case sensitive.
* **2nd argument** - An object with before and after functions which takes in testcase (The testcase object
representing the specific test) and a callback. Any modifications made to the testcase object will reflect in the test.

@@ -111,0 +111,0 @@

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