Commit Graph
403 Commits
Author SHA1 Message Date
Helder Sepulveda 2ab6fcc49b fix(render-tags): always preserve small element (#4129) 2018-01-23 16:58:20 -08:00
Helen Kosova 179699277d fix(parameter-rendering): improve punctuation and spacing (#4145) 2018-01-23 16:33:27 -08:00
kyle efc1194e4a improve(response-rendering): give Content-Disposition priority (#4140)
* Remove produces/consumes setter from OperationContainer

* Store consumes/produces information in `meta` key

* Migrate produces value state usage to `meta` key

* use meta consumes data for isXml check

* Fix failing tests

* normalize action name casing

* restore correct produces fallback value logic

* default to first server if current server is invalid

* improve(response-rendering): give Content-Disposition render priority
2018-01-19 23:08:19 -06:00
kyle 7af7121e64 fix: streamline management of user-selected produces and consumes values (#4137)
* Remove produces/consumes setter from OperationContainer

* Store consumes/produces information in `meta` key

* Migrate produces value state usage to `meta` key

* use meta consumes data for isXml check

* Fix failing tests

* normalize action name casing

* restore correct produces fallback value logic
2018-01-18 20:37:44 -06:00
Lukasr29 64f99356a5 improve(tio): extract file name from Content-Disposition (#4035)
* Added extraction of quoted file name from content disposition header

* Added extraction of quoted file name from content disposition header - PR Fixes

* Added extraction of quoted file name from content disposition header - PR Fixes

* Added extraction of quoted file name from content disposition header - PR Fixes
2018-01-11 19:39:42 -06:00
kyle 63d5f164c6 fix(core-components): make onToggle a non-required prop in ModelCollapse (#4100) 2018-01-11 16:56:36 -06:00
David DE CARVALHO a47da98b54 feat(render/parameters): display enums, defaults, and examples when not in TIO mode 2018-01-05 22:09:32 -06:00
narutowyh 12a9fbc0ca fix: ignore prototype's keys in a handful of for...in loops 2018-01-05 21:57:17 -06:00
Kyle Shockey 9bad35ed85 Refactor specPath to Im data structures to avoid waste renders 2017-12-28 18:04:12 -06:00
kyle 15dbc20efd Merge branch 'master' into master 2017-12-15 18:22:07 -08:00
kyle 2b3a590e29 Merge branch 'master' into patch-1 2017-12-15 17:26:53 -08:00
Kyle Shockey 49333dfadc Merge branch 'master' of github.com:swagger-api/swagger-ui into feature/small-tweaks 2017-12-15 17:22:03 -08:00
kyle 48fd8f7689 Merge branch 'master' into ft/deeplinking-link-component 2017-12-15 17:05:22 -08:00
Greg Thompson a41cdfd650 Merge branch 'master' into ft/deeplinking-link-component 2017-12-13 08:32:57 -06:00
Gonen Dukas 4320118f17 Merge branch 'master' into master 2017-12-13 14:51:43 +02:00
Helder Sepulveda 6ba6039eb7 Merge branch 'master' into master 2017-12-12 17:48:40 -05:00
Helder Sepulveda f3cb0d7195 Merge branch 'master' into patch-1 2017-12-12 17:44:50 -05:00
Kyle Shockey dfa96e66a4 Improve a handful of error surfacing messages
`Spec` => `API definition`, notably.
2017-12-12 13:34:25 -08:00
Kyle Shockey 3db4f6c93a Wrap BaseLayout loading messages in swagger-ui+loading-container 2017-12-12 13:24:42 -08:00
kyle faa9ada6b8 class => className 2017-12-12 12:31:55 -08:00
Greg Thompson 0e883d4a7a Merge remote-tracking branch 'upstream/master' into ft/deeplinking-link-component 2017-12-12 09:18:12 -06:00
Helder Sepulveda b2a435afdc Replace text with Loading throbber 2017-12-12 07:41:33 -05:00
kyle 5c17153df1 Merge branch 'master' into master 2017-12-11 20:29:02 -08:00
kyle aaf62a4e60 Merge branch 'master' into patch-1 2017-12-11 19:20:29 -08:00
kyle 91ed3baae7 Merge branch 'master' into bug/loading 2017-12-11 19:18:52 -08:00
kyle af14cc9e78 Add missing comma 2017-12-11 19:09:00 -08:00
kyle a94c6c0e7f Merge branch 'master' into feature/deeplink-zenscroll 2017-12-11 19:05:16 -08:00
Greg Thompson f819612144 Merge branch 'master' into ft/deeplinking-link-component 2017-12-11 14:28:28 -06:00
Greg Thompson d2e931f3e1 DeepLink feedback 2017-12-11 14:27:28 -06:00
Helder Sepulveda 8becc9a9a7 Update response-body.jsx
Add support for svg images, with this change we will show an actual preview of the image
2017-12-11 15:14:58 -05:00
Gonen Dukas a5d1853557 Do not display undocumenetd when there is a default response 2017-12-11 17:49:16 +02:00
Helder Sepulveda fb8c3e46e7 Merge branch 'master' into master 2017-12-11 08:51:02 -05:00
Helder Sepulveda 58b64294c8 Merge branch 'master' into bug/loading 2017-12-11 08:50:34 -05:00
Kyle Shockey 1f2ea4a8a3 v3.6.1 2017-12-09 10:49:24 -08:00
Helder Sepulveda d7857052c7 Merge branch 'master' into master 2017-12-09 11:23:43 -05:00
Helder Sepulveda 040d648e64 Merge branch 'master' into bug/loading 2017-12-09 11:22:49 -05:00
HelderSepu 67b2b716e4 Show loading message when we are loading 2017-12-09 11:12:41 -05:00
Kyle Shockey e355561e26 Style resolver error line jumps 2017-12-08 22:28:51 -08:00
HelderSepu 28c706c70a Add defaultModelsExpandDepth
This change separates:
the Model (the one on the model-example section)
from
the Models (the ones at the bottom)
2017-12-08 21:12:41 -05:00
Greg Thompson f21601b0e8 Merge branch 'master' into ft/deeplinking-link-component 2017-12-08 09:54:58 -06:00
Kyle Shockey 60ee667688 Linter & test harness fixes 2017-12-07 17:07:30 -08:00
kyle bfb4c7a8d7 Merge branch 'master' into feature/spec-path 2017-12-07 16:49:34 -08:00
Kyle Shockey a7e71d8117 Add FIXME 2017-12-07 14:00:49 -08:00
Kyle Shockey 328f02c463 Move method filtering logic to Operations component 2017-12-07 14:00:47 -08:00
Greg Thompson 5bc8ba3694 Merge branch 'master' into ft/deeplinking-link-component 2017-12-04 14:15:36 -06:00
Greg Thompson 661b60fade add isShown prop 2017-12-04 14:14:28 -06:00
Josh Ponelat 780c5f1b83 Add conditionals to ModelWrapper testing for layout props 2017-12-04 16:11:02 +02:00
Josh Ponelat 3893cb4396 deep linking for models, operations and tags 2017-12-04 16:10:42 +02:00
kyle 7254e8b3fa Merge branch 'master' into feature/add-type-example-for-headers 2017-12-01 22:06:16 -08:00
Greg Thompson 0b8cd7e32f add presentational component to allow for wrapping deeplinking links 2017-12-01 14:30:37 -06:00