Commit Graph

163 Commits

Author SHA1 Message Date
Kyle Shockey
de61dccff0 Revert "Revert "Merge pull request #3516 from owenconti/bug/3511-query-formData-parameters""
This reverts commit beeb6b608e.
2017-09-23 12:54:17 -07:00
Kyle Shockey
beeb6b608e Revert "Merge pull request #3516 from owenconti/bug/3511-query-formData-parameters"
This reverts commit 6a7e9d2e88, reversing
changes made to eb01beedfa.
2017-09-23 10:51:32 -07:00
kyle
b6eb23217f Merge branch 'master' into master 2017-09-22 20:45:07 -07:00
Kyle Shockey
6b59707af1 Fix tests 2017-09-22 19:50:36 -07:00
kyle
827bcd2f36 Merge branch 'master' into master 2017-09-22 19:50:19 -07:00
HelderSepu
e08f31d674 Add UnitTests for validateDateTime & validateGuid 2017-09-22 21:37:33 -04:00
Owen Conti
a1758da87c Merge branch 'master' into bug/3511-query-formData-parameters 2017-09-20 22:37:43 -06:00
Alexander Vangelov
696bdcf961 Merge branch 'master' into master 2017-09-20 13:11:53 -04:00
Owen Conti
7ef8a7ddc7 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3511-query-formData-parameters
# Conflicts:
#	src/core/components/parameter-row.jsx
#	src/core/plugins/spec/actions.js
2017-09-18 16:59:08 -06:00
Owen Conti
44ece46cd3 Fixes #3633
Make sure PrimitiveModel uses the schema's title first and then falls back to the passed-in `name` property. Added enzyme test for functionality.
2017-09-17 09:49:13 -06:00
Owen Conti
f63f022e0c Remove .only from utils test 2017-09-17 09:48:26 -06:00
Alexander Vangelov
90fa7065f8 Merge branch 'master' into master 2017-09-16 11:24:36 -04:00
Kyle Shockey
6010245210 Roll back win import removal
Lost in merge conflict....
2017-09-15 20:29:49 -07:00
Kyle
bd5424308f Merge branch 'master' into bug/oas3-accept-controls 2017-09-15 20:21:27 -07:00
AlexVangelov
c1abdfb1c4 follow lowercase naming convention in tests 2017-09-15 21:04:38 -04:00
AlexVangelov
4172e33e04 satisfy project lint rules 2017-09-15 20:52:55 -04:00
Owen Conti
33ee880f36 Add extra check for String types in createDeepLinkPath. Add trim() call on passed-in value in createDeepLinkPath. Added unit tests for new deep link util functions. 2017-09-15 17:17:45 -06:00
AlexVangelov
9b1a6141df OAuth2 authorizationUrl with extra query parameters (should include double '?') 2017-09-15 15:57:41 -04:00
Owen Conti
ef99b7e434 Remove it.only from new test 2017-09-12 23:09:21 -06:00
Owen Conti
cb88cd53b6 Added test for response.jsx to make sure properties are passed to ModelExample component in the correct order 2017-09-12 23:07:11 -06:00
Kyle Shockey
26edaa5f0b OAS3 Accept header control: Component-side 2017-09-12 17:22:51 -07:00
Kyle Shockey
5bc096d32b Fit linter and tests 2017-09-08 18:44:11 -07:00
Mike Gilbode
087ed20384 Add support for requestInterceptor / responseInterceptor.
- Display mutated requests from request interceptor in curl output in UI.
  Put this behind showMutatedRequest flag so that the mutation can be
  silent.
- Document requestInterceptor, responseInterceptor and showMutatedRequest
  in README.md
- Add tests
2017-08-13 01:14:41 -04:00
Kyle
e67af44a19 Merge branch 'master' into bug/3447-write-only 2017-08-10 18:40:30 -07:00
Kyle
73f17ddf63 Merge branch 'master' into bug/3555-multipart-curl 2017-08-10 18:30:28 -07:00
Kyle Shockey
168e203040 Use hash for body in formData tests
I couldn't find any instances of body being an array when testing
formData with real specs... I think this was a mistake.
2017-08-10 18:27:03 -07:00
Kyle
c5f5eff900 Merge branch 'master' into bug/3447-write-only 2017-08-10 17:16:51 -07:00
Kyle Shockey
049e227c3c Add small comment to test 2017-08-09 17:44:36 -07:00
Kyle Shockey
b7a3f10f64 Remove it.only 2017-08-09 17:35:56 -07:00
Kyle Shockey
9747559529 operationScheme -> currentScheme 2017-08-09 17:35:33 -07:00
Kyle Shockey
9dee2daa14 Fix global state issues with Schemes component 2017-08-09 17:06:48 -07:00
Kyle Shockey
ed6a4fffb9 initialize mainPage variable (for linter) 2017-08-08 18:10:33 -07:00
Kyle Shockey
49bb139736 1.json -> petstore.json 2017-08-08 18:03:54 -07:00
Kenny
543d34d009 write the test in multiple files 2017-08-08 14:08:21 -07:00
Kenny
c7af68b06d Rehydrate test code 2017-08-04 11:19:02 -07:00
Owen Conti
7a694e287a Change name format to in.name and update tests 2017-08-03 19:29:49 -06:00
Kyle Shockey
9af5d2dc66 Add writeOnly support to sampleFromSchema; add tests for the same 2017-08-03 17:23:16 -07:00
Kyle Shockey
37f9d5aa29 Add tests 2017-08-03 17:13:58 -07:00
Owen Conti
ce8adb91a5 Fix failing selector test 2017-08-03 07:14:03 -06:00
Kenny
c38ba45aa0 Fix base url. 2017-08-02 12:39:09 -07:00
Kenny
b7bbead9c7 Merge branch 'master' into issue-1334
# Conflicts:
#	.gitignore
#	make-webpack-config.js
2017-08-02 20:14:03 +02:00
Kenny
3e212655ae add some test 2017-08-01 09:33:17 -07:00
Kenny
144c8b2eee finish overall test 2017-08-01 09:32:31 -07:00
Kenny
dbe3c3194f writing mock data test for pet 2017-07-31 08:09:16 -07:00
shockey
84f6653fcf Merge branch 'master' into ft/oas3 2017-07-28 19:58:38 -07:00
Kyle Shockey
b373182afe ESLint fixes 2017-07-28 19:47:46 -07:00
Kyle Shockey
f7018bc78f Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/oas3 2017-07-28 19:13:24 -07:00
Kenny
0e552c2116 Write test for UI 2017-07-25 14:42:39 -07:00
Owen Conti
f570ffcd82 Reimplemented changes from PR #3427. Added fix for validating request bodies. 2017-07-24 18:46:30 -06:00
Owen Conti
87e7142f1f Revert "Update parameter <select> elements to render 'invalid' classes. Add '.invalid' CSS for <select> elements. Rework validateParam() function. Added .btn-sm class for "Add item" and "Remove item" buttons in array parameters. Reduce border-width on <select> elements inside parameters. Update tests for utils.validateParam()."
This reverts commit 666e22f989.
2017-07-24 18:26:09 -06:00