gilbode
f0c5f1fe33
fix: use mutated request for request URL in live-response ( #4117 )
2018-02-09 19:49:18 -08:00
Scott O'Hara
f589cb99af
feature: supportedSubmitMethods config parameter ( #4186 )
2018-02-09 19:39:43 -08:00
maryscar
3d7a00c0d0
improve: visibility & accessibility ( #4202 )
...
* Increase font weight for property-format
* Increase font weight for model property examples.
2018-02-09 19:34:38 -08:00
Helder Sepulveda
f2a8ed07e0
improve(sanitizer): add more allowed attributes ( #4194 )
...
* Add a couple of items to the sanitizeOptions
* Strings must use doublequote quotes
2018-02-07 19:51:15 -08:00
kyle
1e1b7f6063
fix(try-it-out): pass Parameter validation messages around in props for OAS3 ( #4162 )
...
* default to empty `ImmutableMap` when grabbing op metadata
* pass `errors` into JsonSchema components
* Account for Immutable data structure in JavaScriptonSchema...
...and create empty Lists instead of Maps by default.
* Pass ImmutableList through to JsonSchema child components
2018-01-25 20:14:35 -08:00
maryscar
2f236982f8
improve(a11y): visibility accessibility via aria-label ( #4127 )
...
* Added aria-label for visual readers.
* Increased font weight for Models section span to meet contrast ratio visibility requirements.
2018-01-25 12:41:26 -08:00
Helder Sepulveda
4599033b5a
fix(rendering): operation expand/collapse button title ( #4130 )
2018-01-24 16:48:04 -08:00
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
bb84da4e1d
fix(oas3-editor-rendering): default to first server if current server becomes invalid ( #4139 )
...
* 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
2018-01-19 21:38:12 -06:00
Drew Ballance
286c0e0f72
fix: execution error in IE ( #4128 )
2018-01-18 21:35:43 -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
linelson
b3e80cc500
fix(tic-validation): uuid format parameter validation should be case insensitive ( #4102 )
...
* fix uuid validation casing (#4099 )
* add test
2018-01-11 18:42:37 -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
Juan J. Jimenez-Anca
bd41b736a8
feat: display last error when definition/config load fails
...
Contains a breaking internal API change to `errActions.newThrownErr`, which will require a MINOR version bump. Swagger-Editor does not depend on the old usage style.
2018-01-05 21:45:21 -06:00
Kyle Shockey
c601f9b0ca
Add try/catch protection for statePlugin interfaces
2018-01-03 13:59:48 -06:00
Kyle Shockey
9bad35ed85
Refactor specPath to Im data structures to avoid waste renders
2017-12-28 18:04:12 -06:00
Kyle Shockey
9d48c4751a
Refactor afterLoad interface to expose raw plugin context
2017-12-28 16:26:18 -06:00
kyle
10b4f5d8a7
Merge branch 'master' into support/editor-validation-refactor
2017-12-23 00:18:26 -06:00
kyle
7469705bef
Merge branch 'master' into bug/4040-default-tag
2017-12-22 23:35:54 -06:00
Kyle Shockey
57db23ed1f
Don't parse non-method path keys as operations
2017-12-22 23:30:38 -06:00
Kyle Shockey
ca0b248df2
Prevent non-object values from being dispatched as new JSON content
2017-12-22 23:19:10 -06:00
Kyle Shockey
27156bb79d
Linter fixes
2017-12-22 22:58:37 -06:00
Kyle Shockey
b03bf90664
Allow initialState key deletion
2017-12-22 22:41:53 -06:00
Kyle Shockey
a9ebdb8a7a
Add layout back to initalState
2017-12-22 22:29:55 -06:00
Kyle Shockey
68c689e491
Type-check errors before iterating over them
2017-12-20 13:59:22 -06:00
Kyle Shockey
150ebf3bc0
Add ability to explicitly skip rendering
2017-12-19 23:46:09 -06:00
Kyle Shockey
e07b105b29
Remove layout from default initial state
2017-12-19 23:45:35 -06:00
Kyle Shockey
022b660b8c
Merge branch 'master' into support/editor-validation-refactor
2017-12-19 23:29:59 -06:00
Kyle Shockey
7faf79ae38
Fix deepLinking scroll behavior
2017-12-16 00:28:53 -08: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
Kyle Shockey
a2f8d289a0
Fix error transformer imports
2017-12-15 14:17:12 -08:00
Kyle Shockey
2dd25abbdd
Move initOAuth attacher out of core constructor
2017-12-15 14:16:44 -08:00
Kyle Shockey
c1ae4c133d
Add afterLoad plugin interface
2017-12-14 21:01:37 -08:00
Kyle Shockey
85c83931c4
Move configs plugin to core
2017-12-14 20:17:31 -08:00
Kyle Shockey
b5c713a72b
Eliminate require.context usage
2017-12-14 20:17:31 -08:00
Kyle Shockey
ca7f7ea78b
Stop using require.context in error transformers
2017-12-14 20:17:31 -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