mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-17 16:29:15 +00:00
* Replace jQuery with SuperAgent which works in both Node.js and browser * Use UMD pattern (returnExports.js) to make the module exporting compatible with all major systems: AMD, Node.js (CommonJS) and browser * Implement support of header and form parameters. Closes #1736 * Move HTTP requesting code to `ApiClient` and allow customizing options in it, e.g. "basePath" * Update unit tests accordingly and add some tests for `ApiClient`
18 lines
593 B
JSON
18 lines
593 B
JSON
{
|
|
"name": "swagger-petstore",
|
|
"version": "1.0.0",
|
|
"description": "This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters",
|
|
"license": "Apache 2.0",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"test": "./node_modules/mocha/bin/mocha --recursive"
|
|
},
|
|
"dependencies": {
|
|
"superagent": "^1.6.1"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "~2.3.4",
|
|
"expect.js": "~0.3.1"
|
|
}
|
|
}
|