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
Kyle Shockey
72fb75c83b
Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/oas3
2017-06-08 21:15:10 -07: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
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
Scott O'Hara
eed62339b2
Remove unused legacy clear class ( Fixes #3167 )
2017-06-05 08:36:49 +10:00
Kyle Shockey
840e1742d9
Use <Operation> in callbacks
2017-06-02 14:41:20 -07:00
Kyle Shockey
ccda3df4be
Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/oas3
2017-06-06 14:11:20 -07: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
Kyle Shockey
7deff73eea
(Actually) display callbacks
2017-06-01 09:34:42 -07:00
Kyle Shockey
ff39d075ff
Provide system as props to OAS3 wrapper components
2017-06-01 00:12:36 -07:00
Kyle Shockey
845965c660
Reorganize Parameters component for OAS3
2017-05-31 19:23:24 -07:00
Kyle Shockey
27f8030e28
Use SUPPORTED_OPENAPI_VERSIONS in selector wrapper
2017-05-31 19:04:50 -07:00
Kyle Shockey
5511aa9a6a
Fix react-markdown empty prop error
2017-05-31 18:49:46 -07:00
Kyle Shockey
a0fbcc5dde
Add OAS3 indicator
2017-05-31 18:47:51 -07:00
Kyle Shockey
e387da0bc8
Merge branch 'ft/dev-server-watch' into ft/oas3
2017-05-31 18:22:16 -07:00
Kyle Shockey
dd256a4ef7
Working callback display
2017-05-31 18:13:22 -07:00
Kyle Shockey
e55a604484
Merge branch 'ft/oas3' of github.com:swagger-api/swagger-ui into ft/oas3
2017-05-31 17:45:35 -07:00
Anna Bodnia
676fd99960
#3128 make request-body type default for aouth2 password flow
2017-05-31 18:53:45 +03:00
Anna Bodnia
5f2eaffbc3
fix #3128
2017-05-31 17:31:29 +03:00
Minasokoni
66321c8f66
tabs added
2017-05-26 07:43:02 -07:00
Kyle Shockey
032c0a027f
Basic request body
2017-05-26 00:24:53 -07:00
Anna Bodnia
df4ea9b3d6
Merge remote-tracking branch 'upstream/master' into fix-3067
2017-05-25 18:06:07 +03:00
Kyle Shockey
128b910d58
Reorganize wrapComponents, fix CommonMark
2017-05-23 19:39:54 -07:00
Kyle Shockey
31abbb7641
Finish rewiring Markdown provider
2017-05-23 15:29:58 -07:00
Kyle Shockey
88848d071b
Extended getComponent: system availability
2017-05-23 14:55:28 -07:00
Kyle Shockey
614c1ae7f6
basic wrapComponent
2017-05-22 23:10:16 -07:00
Robert Barnwell
760d1eba80
Merge branch 'master' into clickfix
2017-05-22 09:57:19 -07:00
Minasokoni
a2a2f76199
updated click area
2017-05-22 09:12:13 -07:00
Anna Bodnia
d5b9552a5a
removed debugger
2017-05-22 17:13:31 +03:00
Anna Bodnia
edfe88d299
modelPropertyMacro, parameterMacro
2017-05-19 18:50:51 +03:00