Andrew Luca
e531c40356
fix(styles): stop wrapper from overflowing on smaller devices ( #4121 )
...
When using `swagger-ui` for consumption by JavaScript web projects
that include module bundlers, instead of `swagger-ui-dist`
there is no `box-sizing: border-box` on `.wrapper`
and it's width overflows because of additional `padding: 0 20px`
2018-01-19 13:54:01 -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
kyle
0751022b77
bug(polyfiller): check for Promise on global/window object
2018-01-06 00:19:29 -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
jenglish404
71c0742735
Make parameter description styles consistent
...
Remove .swagger-ui .parameters-col_description p formatting from _table.scss. With this in place, the parameter descriptions are bold and a larger font for request parameters. This is inconsistent with how response values are displayed.
2018-01-05 15:17:22 -08:00
kyle
8f3535b5ff
Merge branch 'master' into zopflipng
2018-01-03 18:55:00 -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 Shockey
03f80dcc70
v3.8.0
2017-12-23 01:58:57 -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
Ville Skyttä
8c4b511227
Run *.png through zopflipng -m
2017-12-16 22:42:14 +02: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
00f4fb3326
Add margin to loading container
2017-12-12 13:25:36 -08:00
Kyle Shockey
3db4f6c93a
Wrap BaseLayout loading messages in swagger-ui+loading-container
2017-12-12 13:24:42 -08:00
Kyle Shockey
0864ca849f
Use throbber in Standalone layout; center loading messages and content
2017-12-12 13:07:18 -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