Commit Graph
980 Commits
Author SHA1 Message Date
shockey 65ef596db1 Merge branch 'master' into bug/3299-integer-parameter-validation 2017-06-29 15:45:04 -07:00
shockey 5da71296e9 Merge branch 'master' into bug/3299-integer-parameter-validation 2017-06-29 15:43:31 -07:00
shockey 0a67efd964 Merge branch 'master' into bug/3136-operation-scheme-update 2017-06-29 15:39:11 -07:00
Kyle Shockey 3484b83d1f trigger setScheme when a new set of schemes come in 2017-06-29 13:22:58 -07:00
Owen Conti 8727754dd4 #3110 - Fix models down arrow icon in firefox 2017-06-27 20:56:48 -06: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
Kyle Shockey afec3af4e0 Rename variable: "selectedName" -> "primaryName" 2017-06-27 17:29:03 -07:00
Kyle Shockey 158c899176 "name" -> "urls.primaryName" 2017-06-27 17:26:24 -07:00
Kyle Shockey c423a68cfc Update selectedIndex when a new URL is loaded 2017-06-27 17:15:13 -07:00
Jesse Mandel e8a5d0d721 Merge branch 'master' into TopbarPluginWithSelect 2017-06-26 23:07:17 -07:00
Jesse Mandel 8cd5007812 Use select value to avoid react warning 2017-06-26 23:04:42 -07:00
Jesse Mandel 41e4d98a4c Properly added name config
Now access it through getConfigs
Documented it in README
2017-06-26 22:49:57 -07:00
shockey 8d4750d76c Merge branch 'master' into ft/3289-boolean-default-value 2017-06-26 18:11:35 -07:00
shockey a2e6619544 Merge branch 'master' into bug/3256-example-value-fix 2017-06-26 17:23:36 -07:00
shockey 7adc8f187a Merge branch 'master' into file-sample 2017-06-26 15:23:17 -07:00
Owen Conti de3046e29d #3256 - Remove unnecessary JSON.stringify call on example values that are already strings 2017-06-25 16:39:54 -06:00
Owen Conti 789534c587 Bug fix for #3136 - Update state when scheme options change and previously selected option is no longer available 2017-06-25 15:51:07 -06:00
Owen Conti 8b073757fe #3289 - Update boolean sample function to accept schema object and return value based off of schema's default value (if exists) 2017-06-25 09:59:12 -06:00
Sven Tschui 75ca33a06e Merge branch 'master' of github.com:swagger-api/swagger-ui into improvement/remove-react-addons-shallow-compare 2017-06-24 16:14:11 +02:00
shockey 2e2c19ebc1 Merge branch 'master' into file-sample 2017-06-23 18:10:04 -07:00
shockey b942d08923 "Select a URL" -> "Select a spec" 2017-06-23 16:26:41 -07:00
shockey ac63fbfa5b Merge branch 'master' into TopbarPluginWithSelect 2017-06-23 15:37:22 -07:00
shockey 841dcaf2fb Merge branch 'master' into feature/misuse-of-findIndex 2017-06-22 23:25:12 -07:00
shockey 4fb43fc886 Merge branch 'master' into bug/3279-markdown-falsey-values 2017-06-22 22:15:33 -07:00
Kyle Shockey 21100a0a8b Don't render Markdown if input or sanitized input is empty 2017-06-22 22:05:38 -07:00
Ron e6afe1d145 Merge branch 'master' into TopbarPluginWithSelect 2017-06-22 15:02:30 -07:00
Minasokoni 756a493ab1 forgot fontsize 2017-06-22 14:55:14 -07:00
Minasokoni 5e0354a6cd Removed margin 2017-06-22 14:48:56 -07:00
Sven Tschui e4f9837312 Remove react-addons-shallow-compare 2017-06-22 09:46:51 +02:00
Josh Ponelat ff16ecd99a Fix mis-use of findIndex ( these really must be tested ) 2017-06-22 09:01:41 +02:00
Minasokoni 73df4922f4 minimal update to styling 2017-06-21 08:22:48 -07:00
Josh Ponelat 9549bf3c2b Add back shallowEqualKeys ( editor depends on it ) 2017-06-21 15:29:37 +02:00
Jesse Mandel 2e40f59cad Updated Topbar with a select option if urls is passed.
Can use `?name=NAME` to preselect.
2017-06-20 15:31:36 -07:00
Derek Wickern 34c57fb018 Disable sample response for file transfer 2017-06-20 10:18:42 -07:00
Josh Ponelat e831fba297 Merge branch 'master' into feature/remove-babel-polyfill 2017-06-19 18:49:37 +02:00
Josh Ponelat a536a00d35 fix lint 2017-06-19 18:46:49 +02:00
Josh Ponelat 9e6e660a93 Add polyfill for Promise ( only )
This is needed for whatwg-fetch + IE11.
An alternative is to include "node_modules/whatwg-fetch" in the
transform-runtime.
But my guess is that someone is likely going to add a lib that in turn
uses Promises, without adding it to the whitelist. This is safter.
2017-06-19 18:40:42 +02:00
Josh Ponelat 0e4d04650d Fixes for IE11, wrt to instance methods 2017-06-19 18:29:45 +02:00
shockey 99600df0f1 Merge branch 'master' into fix-model-markdown 2017-06-16 13:52:32 -07:00
sokol acff34e1d4 #2946 Fix CR fix 2017-06-16 21:14:00 +03:00
sokol 129129be97 #2946 Fix 2017-06-16 18:16:46 +03:00
Josh Ponelat 4a6716ffed Replace babel-polyfill with runtime transform 2017-06-15 16:36:33 +02:00
shockey 1bd1190749 Merge branch 'master' into multipart-file-upload 2017-06-13 16:08:19 -07:00
Ron 0345f66ee2 Merge branch 'master' into fix-response-json-indentation 2017-06-13 15:45:16 -07:00
Mark H. Wilkinson 7d24a95d78 Indent JSON examples. 2017-06-13 23:07:44 +01:00
shockey ce16666b57 Merge branch 'master' into fix-model-markdown 2017-06-13 12:09:58 -07:00
Mark H. Wilkinson c24a07c523 Render primitive property descriptions as Markdown. 2017-06-13 17:15:59 +01:00
Mark H. Wilkinson db57ee0dfe Render object descriptions as Markdown. 2017-06-13 17:13:33 +01:00
Furkan Ayhan b3e476f476 Show actual error response when trying 2017-06-09 10:25:28 +03: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