forked from loafle/openapi-generator-original
* Updated to new nodejs packages, depending heavily on express-openapi-validator. Requires quite a change in code. Updated the business-logic in the controllers/Controller.js file. Logger now records also timestamp of events. Files are uploaded according to definition in config.js file * Removed commented-out code; Changed openApi document extensions to suit new express-openapi-validator definition; multipart and file uploading is supported now; Automatic response returns the values the were sent in the request * fixed README documentation, fixed a mistage in package.json/mustache * added generated files that were created when running the ./bin/test file
44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"name": "openapi-petstore",
|
|
"version": "1.0.0",
|
|
"description": "This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"prestart": "npm install",
|
|
"start": "node index.js"
|
|
},
|
|
"keywords": [
|
|
"openapi-generator",
|
|
"openapi"
|
|
],
|
|
"license": "Unlicense",
|
|
"private": true,
|
|
"dependencies": {
|
|
"body-parser": "^1.19.0",
|
|
"camelcase": "^5.3.1",
|
|
"cookie-parser": "^1.4.4",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.16.4",
|
|
"express-openapi-validator": "^3.9.1",
|
|
"js-yaml": "^3.3.0",
|
|
"ono": "^5.0.1",
|
|
"openapi-sampler": "^1.0.0-beta.15",
|
|
"swagger-ui-express": "^4.0.2",
|
|
"winston": "^3.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"axios": "^0.19.0",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-airbnb-base": "^14.0.0",
|
|
"eslint-plugin-import": "^2.17.2",
|
|
"mocha": "^7.1.1"
|
|
},
|
|
"eslintConfig": {
|
|
"env": {
|
|
"node": true
|
|
}
|
|
}
|
|
}
|