Commit Graph

15 Commits

Author SHA1 Message Date
shockey
afaa5619bb Merge branch 'master' into bug/3072-error-response-fixes 2017-06-29 17:20:09 -07:00
Owen Conti
5119c7a5db Fixes #3299 - export validateNumber and validateInteger for easy reuse and testing. Broke validateParam required check onto multiple lines. Added tests for validateNumber, validateInteger, and validateParam 2017-06-27 20:01:09 -06:00
Owen Conti
ddb5704637 #3072 - Display response body and headers for requests that result in non-200 responses. Add test to ensure error and response are merged correctly 2017-06-25 13:28:14 -06:00
Derek Wickern
c5a23e584c Fix #2922: file uploads fail to render curl command
The request body is an immutable.js OrderedMap rather than a string,
so this fixes the type error:

  TypeError: request.get(...).split is not a function

Adds a special curl command argument for files, e.g.

  curl -F "param=value" -F "file=@filename.txt;type=text/plain"
2017-06-08 15:59:41 -07:00
shockey
754d57396a Merge branch 'master' into bug/2919-relative-spec-infer-scheme 2017-04-18 19:55:29 -07:00
Kyle Shockey
5fc064e2ac Reorganize tests 2017-04-18 15:08:36 -07:00
Kyle Shockey
35769f9b47 Fix #2918; add control/test tests 2017-04-18 11:20:15 -07:00
Kyle Shockey
4c1a5488bb Parse spec url when deciding scheme for operation 2017-04-13 17:26:47 -07:00
Anna Bodnia
fde75d408e fix #2839 2017-04-04 14:34:59 +03:00
Kyle Shockey
8dd23053b2 Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/linting-and-testing 2017-03-23 16:43:37 -07:00
Kyle Shockey
e1fcbfbf09 Linter error fixes 2017-03-23 16:36:45 -07:00
Kyle Shockey
f1f239b07b Delete unused AST tests 2017-03-22 21:22:07 -07:00
Kyle Shockey
f195d01184 Autofix ESLint problems 2017-03-22 20:40:05 -07:00
Anna Bodnia
4ebe2273da fixes for XML render 2017-03-22 16:14:20 +02:00
Ron
f22a628934 in with the new 2017-03-17 21:17:53 -07:00