swagger-test-templates icon indicating copy to clipboard operation
swagger-test-templates copied to clipboard

Test code generated from Swagger

Results 22 swagger-test-templates issues
Sort by recently updated
recently updated
newest added

dependencies are not automatically installed

Use double quotes, see following swagger schema: DownForMaintenance: description: "We're currently down for maintenance." schema: $ref: "#/definitions/Error" headers: content-type: description: "Response content-type" type: string Will generate tests that fail: it('should...

The arete tests reference a `averageResponseTimeInternal` on the arete report object after a load test is run. This property does not exist. It should be changed to `averageResponseTimeInterval`. (see here...

It could be good to define additional assertion while generating tests

Currently this code https://github.com/apigee-127/swagger-test-templates/blob/master/templates/request/post/post.handlebars#L24-L28 ``` js json: { {{#each bodyParameters}} {{this.name}}: 'DATA GOES HERE'{{#unless @last}},{{/unless}} {{/each}} } ``` based on this description ``` yaml parameters: - name: User description: User...

I did a: `npm run test` to get started with this package and noticed the following deprecation warnings when installing dependencies: ``` npm WARN deprecated [email protected]: Please update to minimatch...

With Swagger being the property of SmartBear, this project needs to be renamed to something either referencing the new OSS foundation OpenAPI, or something entirely new (but still related). After...

One for the list: I have endpoints that use JSON-vulnerability protection. That means it adds )]}, before the start of the response-json, making it invalid. (this protection is widely used,...

I have the following valid swagger.yaml: ``` yaml paths: /assets: get: tags: - Assets summary: Returns base paths for asset files security: - ClientVersion: [] - ClientApiKey: [] - ApiVersion:...

@Remco75 brought up the fact that it is quite laborious to make changes to this module because then it needs to be propagated across 10s of diff comparison files. This...