Owen Conti
551a5a81a1
Fix test for falsy values
2017-07-04 16:48:23 -06:00
Owen Conti
dd1b87e3d7
Fixes #3309 - Add same styles as regular input elements to file inputs. Add test for validating file type.
2017-07-03 18:04:49 -06:00
shockey
b72aa3a7c8
Merge branch 'master' into webpack-migration-2.x
2017-06-29 18:23:36 -07:00
shockey
afaa5619bb
Merge branch 'master' into bug/3072-error-response-fixes
2017-06-29 17:20:09 -07:00
RVKen
d36f0a6dbd
fix eslint issues
2017-06-29 04:37:19 +02: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
Kyle Shockey
2fb04c286b
Add tests
2017-06-22 22:11:37 -07:00
shockey
1bd1190749
Merge branch 'master' into multipart-file-upload
2017-06-13 16:08:19 -07:00
Dylan
3311f3e95f
export getAbsoluteFSPath method instead of property
2017-06-12 22:21:47 -07:00
Dylan
df149c543b
make dist absolutePath browser-safe, add test
2017-06-10 15:59:21 -07: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
Kyle Shockey
8919661438
Add failing test
2017-06-07 12:52:35 -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
df9e93fc2b
Skip failing test for now
2017-03-22 21:21:28 -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
Ron
bd8344c808
out with the old
2017-03-17 20:34:15 -07:00
Tony Tam
48e7bc1331
updated versions
2016-08-24 09:03:13 -07:00
Tony Tam
826bfcce67
added test spec
2016-08-19 12:27:32 -07:00
Anna Bodnia
256583bdb5
tests #1186 Render primitive types in "Response Class"
2016-02-22 19:00:33 +02:00
Anna Bodnia
918958aa70
#1931 Fixed Need fix typo 'xlmns'
2016-01-29 18:44:01 +02:00
Anna Bodnia
db328351b9
#1892 fixed multiple definition loops
2016-01-22 20:24:45 +02:00
Anna Bodnia
9a5925f921
#1892 infinite loop when rendering self-references
2016-01-21 18:36:00 +02:00
Tony Tam
d3686c9dbd
rebuilt
2016-01-20 08:57:44 -05:00
Anna Bodnia
78a09ea16f
#1248 Returns single item in XML when passing array specification
2016-01-20 11:17:43 +02:00
Tony Tam
3aaf121310
added ignore on mock
2016-01-19 22:40:38 -05:00
Tony Tam
7f7f8e73bc
updated quotes
2016-01-19 22:23:12 -05:00
Tony Tam
39877cbd0e
merged
2016-01-19 22:14:42 -05:00
Anna Bodnia
8a4c6560f5
#1248 implemented display property as attribute
2016-01-18 19:53:53 +02:00
Anna Bodnia
f68420051f
#1248 createXMLSample Added handling readyOnly params
2016-01-18 13:50:21 +02:00
Anna Bodnia
4443883546
#1248 createXMLSample added error message
2016-01-15 12:35:11 +02:00
Anna Bodnia
9543ea4671
#1248 createXMLSample moved creating primitive xml into separate function
2016-01-14 19:16:10 +02:00
Anna Bodnia
1c555c00b8
#1248 createXMLSample added XML display for Model in definitions
2016-01-14 17:41:50 +02:00
Anna Bodnia
8917a9bf76
#1248 createXMLSample added object xml representation
2016-01-13 17:13:42 +02:00
Anna Bodnia
455c82c13b
#1248 createXMLSample added tests for nested arrays
2016-01-13 12:53:32 +02:00
Anna Bodnia
aa86bb5fe7
#1248 createXMLSample added array
2016-01-13 12:30:12 +02:00
Anna Bodnia
b3ddef2965
#1248 createXMLSample added namespace display
2016-01-12 19:33:00 +02:00
Anna Bodnia
4b0b385102
#1248 createXMLSample made separate function for tagname
2016-01-12 17:14:43 +02:00
Anna Bodnia
b104272ae9
#1248 createXMLSample added getSampleDate method
2016-01-12 15:40:55 +02:00
Anna Bodnia
73feed4ca2
#1248 createXMLSample handle prefix and names in xml
2016-01-12 15:26:59 +02:00
Anna Bodnia
7a8f7016c2
#1248 createXMLSample create xml sample for primitive
2016-01-12 14:06:54 +02:00