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
Anna Bodnia
ee2e82390b
fixes #3191
2017-06-08 15:41:06 +03:00
Anna Bodnia
bbf93c5e1f
#3172 added Access-Control-Allow-Origin for auth requests
2017-06-08 14:06:30 +03:00
Anna Bodnia
36b263e230
fixes #3172
2017-06-08 12:19:47 +03:00
Kyle Shockey
a9d4f5efde
Add filter to un-double-escape quotation marks
2017-06-07 12:52:59 -07:00
shockey
4f7e75f443
Add propTypes validation for getConfig
2017-06-06 22:39:46 -07:00
Gwyn Judd
2d0c660d9f
Add support for docExpansion flag to models
...
Show a more compressed view if docExpansion is set to "none"
2017-06-07 12:26:48 +12:00
Kyle Shockey
97ab51c354
CSS fixes for operationId display
2017-06-06 12:07:37 -07:00
shockey
c05b66f4d4
Remove displayOperationId as prop to Operations
...
This appears to be a mistake. Operations should get `displayOperationId` from `getConfigs`, not from a prop.
2017-06-06 11:28:27 -07:00
shockey
68974a95b2
Use destructuring synyax to get displayOperationId
2017-06-06 11:18:42 -07:00
Artem
78af4e7f9f
Merge branch 'operationId'
...
# Conflicts:
# src/core/components/operation.jsx
2017-06-06 17:23:04 +03:00
Artem
e3f872ad63
Display operationId
2017-06-06 17:21:20 +03:00
Kyle Shockey
09148e478c
Remove switching logic from spec specSelector
2017-06-05 20:04:52 -07:00
Kyle Shockey
a857e947de
Add default value to config constructor
2017-06-05 20:04:35 -07:00
shockey
438546f923
Merge branch 'master' into doc-expansion
2017-06-05 16:12:14 -07:00
Ron
2257836114
Merge branch 'master' into rename-pulse-animation
2017-06-05 09:28:33 -07:00
Scott O'Hara
af2c890e51
Use less generic pulse animation name ( Fixes #3169 )
2017-06-05 08:38:39 +10:00
Scott O'Hara
eed62339b2
Remove unused legacy clear class ( Fixes #3167 )
2017-06-05 08:36:49 +10:00
Kyle Shockey
bec97cfaf5
Fix style error
2017-06-01 22:24:31 -07:00
Kyle Shockey
6ccd037197
Merge branch 'bug/3163-markdown-xss' of github.com:shockey/swagger-ui into bug/3163-markdown-xss
2017-06-01 22:18:37 -07:00
Kyle Shockey
af2b1e20f1
Sanitize Markdown inputs
2017-06-01 22:14:44 -07:00
Kyle Shockey
23b1a8aabd
Finish rewiring Markdown provider
2017-06-01 21:41:28 -07:00
Kyle Shockey
a2eed69ee7
Create providers directory; Markdown provider
2017-06-01 21:37:00 -07:00
Gwyn Judd
eb929d3129
Added support for docExpansion config
2017-06-02 09:02:29 +12:00
shockey
6ae7eb4591
Merge branch 'master' into bug/3163-markdown-xss
2017-06-01 09:47:12 -07:00
Kyle Shockey
df47e0e956
Disable HTML rendering in React-Markdown
2017-06-01 09:43:13 -07:00
Ron
d1c1b000bf
Merge branch 'master' into fix.info-font
2017-05-31 12:31:00 -07:00
shockey
fdcdb831eb
Merge branch 'master' into master
2017-05-31 12:09:14 -07:00
Anna Bodnia
676fd99960
#3128 make request-body type default for aouth2 password flow
2017-05-31 18:53:45 +03:00