Commit Graph

473 Commits

Author SHA1 Message Date
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
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
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
845965c660 Reorganize Parameters component for OAS3 2017-05-31 19:23:24 -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
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
Kyle Shockey
31abbb7641 Finish rewiring Markdown provider 2017-05-23 15:29:58 -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
Kyle Shockey
3b62a93bb6 Create providers directory; Markdown provider 2017-05-18 17:05:49 -07:00
Kyle Shockey
a28dc13191 Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/error-jump-to-line 2017-05-18 15:21:09 -07:00
Kyle Shockey
b6bb1deab8 Rewire jump to line for Errors component 2017-05-18 15:13:04 -07:00
Anna Bodnia
b85d9a8c24 fixes #3089 2017-05-17 18:13:04 +03:00
Kyle Shockey
599b448f91 Revert "fixes #2922"
This reverts commit 496062f980.
2017-05-13 10:15:38 -07:00
Anna Bodnia
8aebea34c4 add configuration of auth: scope separator, client id, client secret, app name, reaml, additionalQueryParams 2017-05-11 16:30:30 +03:00
Anna Bodnia
496062f980 fixes #2922 2017-05-10 17:03:18 +03:00
Anna Bodnia
7e1eb4e9a7 fix #2841 2017-05-04 17:18:47 +03:00
Stefan Grootscholten
073eff4e10 Make the checkbox id more unique.
If the swagger.json defines more than one oauth2 Security scheme with
matching scopes, the id of the scope checkboxes were not unique.
As a result the scope for a second security scheme could not be
selected.

By adding the security scheme name to the id, it becomes more unique.
2017-05-04 09:39:22 +02:00
Kyle Shockey
518e2ec732 Merge branch 'master' into Minasokoni-container-name-change 2017-04-27 19:57:29 -07:00
Kyle Shockey
7d87c9d680 Fix typo in container classname 2017-04-27 09:09:09 -07:00
Kyle Shockey
78336e99aa Merge branch 'container-name-change' of https://github.com/Minasokoni/swagger-ui into Minasokoni-container-name-change 2017-04-27 09:08:55 -07:00
Minasokoni
198f9b6874 changed container classname 2017-04-27 08:35:33 -07:00
Anna Bodnia
bb73dd49d8 fixes password, application oauth2 flows 2017-04-26 17:50:09 +03:00
Anna Bodnia
5a260971cc fixes #2929 2017-04-21 13:29:18 +03:00
Anna Bodnia
ca048f42a4 fixes #2881 2017-04-20 20:40:56 +03:00
Anna Bodnia
84b408849d fixes #2929 2017-04-20 19:54:14 +03:00
Kyle Shockey
81f74d9d51 Move loadingStatus code into StandaloneLayout (where it belongs!) 2017-04-14 19:01:57 -07:00
Kyle Shockey
cf80839d11 Add BaseLayout to core 2017-04-14 18:38:59 -07:00
Kyle Shockey
f2ae188722 Fix #2763 2017-04-10 13:50:51 -07:00
Mészáros Mihály
9b35b7bf5c Merge branch 'master' of github.com:misi/swagger-ui 2017-04-06 08:19:35 +02:00
Mészáros Mihály
593e8de4c8 fix rm unintentieonaly staged file 2017-04-06 08:17:39 +02:00