swagger-test-templates
swagger-test-templates copied to clipboard
Test code generated from Swagger
In generated assert-style checks, `assert.true` was used, which gives error `assert.true is not a function`. This PR changes all assert.true to simply `assert`. Also, this adds a simple message to...
Hi, `string` and `optimist` are unmaintained. They also have vulnerability reports against them (or their own dependencies; `optimist` depends on an old version of `minimist` that is vulnerable). Suggested replacements......
Bumps [eslint](https://github.com/eslint/eslint) from 0.24.1 to 6.6.0. Release notes *Sourced from [eslint's releases](https://github.com/eslint/eslint/releases).* > ## v6.6.0 > * [`39dfe08`](https://github.com/eslint/eslint/commit/39dfe0880fa934e287e8ea1f7b56d5cba8d43765) Update: false positives in function-call-argument-newline (fixes [#12123](https://github-redirect.dependabot.com/eslint/eslint/issues/12123)) ([#12280](https://github-redirect.dependabot.com/eslint/eslint/issues/12280)) (Scott O'Hara) > *...
This is good framework. I'm very interested to see how to use it to test our APIs. But we are moving from swagger 2.0 to openapi 3.0.0. Is it easy...
Hi, it may be a noob question but how do you use the example on this page ? after installing this npm package and adding the example i just get...
How to change loclahost:10010 to the actual address of my server?
I have a configuration for test_gen with different combinations for query params for endpoint: ``` '/ip-range/': { get: { '200': [{ ordering: ['id'], businessUnits: [businessUnits.businessUnit.id], description: 'ordering and filter by...
I need to validate the body response when the response produces a XML mime type. To do this, I transform the xml body response to json with [xml2js](https://www.npmjs.com/package/xml2js) module and...
Use this "http://swagger-net-test.azurewebsites.net/swagger/docs/V1" swagger to gen the test.js file: api-ArrayTest-Post Arrays-test.js the last it is wrong format: it('should respond with 200 OK', function(done) { request({ url: 'http://swagger-net-test.azurewebsites.net/api/ArrayTest/Post Arrays', method: 'POST',...
When I try generate test for endpoints deprecated, testgen generate empty files