-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from smollweide/develop
v0.18.2
- Loading branch information
Showing
12 changed files
with
131 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[package.json] | ||
indent_style = space | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
ok: true | ||
"ok": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,9 @@ | |
}, | ||
"success.json": { | ||
"counter": 0 | ||
}, | ||
"tunnel-latest": { | ||
"counter": 0 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"desc": "Returns a list of products (Options)", | ||
"security": [], | ||
"protected": false, | ||
"status": "open", | ||
"response": { | ||
"statusCode": 200, | ||
"schema": { | ||
"type": "application/json" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"errors": [ | ||
{ | ||
"message": "No valid SearchConfig found for the current context", | ||
"type": "ConversionError" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"success": true | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"success": "boolean" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
"validation": { | ||
"success": { | ||
"counter": 1 | ||
}, | ||
"tunnel-latest": { | ||
"counter": 4 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,73 @@ | ||
{ | ||
"name": "node-mock-server", | ||
"version": "0.18.1", | ||
"description": "File based Node REST API mock server", | ||
"email": "[email protected]", | ||
"author": "Simon Mollweide <[email protected]>", | ||
"url": "https://github.com/smollweide/node-mock-server", | ||
"repository": { | ||
"type": "github", | ||
"url": "https://github.com/smollweide/node-mock-server" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/smollweide/node-mock-server/issues" | ||
}, | ||
"scripts": { | ||
"start": "nodemon demo/index.js", | ||
"test": "mocha test/tests.js", | ||
"posttest": "npm run lint", | ||
"lint": "npm run lint:js", | ||
"lint:js": "node_modules/.bin/eslint ." | ||
}, | ||
"main": "mock-server.js", | ||
"keywords": [ | ||
"node", | ||
"node.js", | ||
"npm", | ||
"mock", | ||
"rest", | ||
"REST", | ||
"rest API", | ||
"REST API", | ||
"api", | ||
"API", | ||
"json", | ||
"DTO", | ||
"Datatransferobject", | ||
"Swagger", | ||
"documentation", | ||
"REST API documentation", | ||
"cli" | ||
], | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"preferGlobal": false, | ||
"private": false, | ||
"license": "MIT", | ||
"dependencies": { | ||
"body-parser": "^1.15.0", | ||
"chip": "0.0.5", | ||
"cookie-parser": "^1.4.3", | ||
"deasync": "^0.1.4", | ||
"ejs": "^2.4.1", | ||
"es6-promise-polyfill": "^1.2.0", | ||
"express": "^4.15.3", | ||
"extend": "^3.0.0", | ||
"faker": "^4.1.0", | ||
"inflect": "^0.4.0", | ||
"inquirer": "^3.2.1", | ||
"make-dir": "^1.0.0", | ||
"mime-types": "^2.1.15", | ||
"open": "0.0.5", | ||
"p-series": "^1.0.0", | ||
"request": "^2.72.0" | ||
}, | ||
"devDependencies": { | ||
"@namics/eslint-config": "^2.2.0", | ||
"babel-eslint": "^6.0.3", | ||
"eslint": "^3.19.0", | ||
"eslint-plugin-import": "^2.2.0", | ||
"mocha": "^2.4.5" | ||
} | ||
"name": "node-mock-server", | ||
"version": "0.18.2", | ||
"description": "File based Node REST API mock server", | ||
"email": "[email protected]", | ||
"author": "Simon Mollweide <[email protected]>", | ||
"url": "https://github.com/smollweide/node-mock-server", | ||
"repository": { | ||
"type": "github", | ||
"url": "https://github.com/smollweide/node-mock-server" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/smollweide/node-mock-server/issues" | ||
}, | ||
"scripts": { | ||
"start": "nodemon demo/index.js", | ||
"test": "mocha test/tests.js", | ||
"posttest": "npm run lint", | ||
"lint": "npm run lint:js", | ||
"lint:js": "node_modules/.bin/eslint ." | ||
}, | ||
"main": "mock-server.js", | ||
"keywords": [ | ||
"node", | ||
"node.js", | ||
"npm", | ||
"mock", | ||
"rest", | ||
"REST", | ||
"rest API", | ||
"REST API", | ||
"api", | ||
"API", | ||
"json", | ||
"DTO", | ||
"Datatransferobject", | ||
"Swagger", | ||
"documentation", | ||
"REST API documentation", | ||
"cli" | ||
], | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"preferGlobal": false, | ||
"private": false, | ||
"license": "MIT", | ||
"dependencies": { | ||
"body-parser": "^1.15.0", | ||
"chip": "0.0.5", | ||
"cookie-parser": "^1.4.3", | ||
"deasync": "^0.1.4", | ||
"ejs": "^2.4.1", | ||
"es6-promise-polyfill": "^1.2.0", | ||
"express": "^4.15.3", | ||
"extend": "^3.0.0", | ||
"faker": "^4.1.0", | ||
"inflect": "^0.4.0", | ||
"inquirer": "^3.2.1", | ||
"make-dir": "^1.0.0", | ||
"mime-types": "^2.1.15", | ||
"open": "0.0.5", | ||
"p-series": "^1.0.0", | ||
"request": "^2.72.0" | ||
}, | ||
"devDependencies": { | ||
"@namics/eslint-config": "^4.1.0", | ||
"babel-eslint": "^6.0.3", | ||
"eslint": "^3.19.0", | ||
"eslint-plugin-import": "^2.2.0", | ||
"mocha": "^2.4.5" | ||
} | ||
} |