Commit Graph

46 Commits

Author SHA1 Message Date
kyle
bfb4c7a8d7 Merge branch 'master' into feature/spec-path 2017-12-07 16:49:34 -08:00
Kyle Shockey
a7e71d8117 Add FIXME 2017-12-07 14:00:49 -08:00
Kyle Shockey
328f02c463 Move method filtering logic to Operations component 2017-12-07 14:00:47 -08:00
Kyle Shockey
ed76a10431 Linter fixes 2017-11-16 23:19:57 -08:00
Kyle Shockey
6ab3f9e938 Pass system to OperationContainer through getComponent 2017-11-16 21:03:31 -08:00
Kyle Shockey
054961bfc7 Merge branch 'ft/performance' into bug/3904-operation-not-updating 2017-11-16 18:55:17 -08:00
Kyle Shockey
e45b9b82a8 Fix docExpansion: full regression 2017-11-10 22:34:55 -08:00
kyle
bfe2667326 Remove unused Immutable.List import 2017-11-09 19:28:20 -08:00
Kyle Shockey
e33de3049f Refactor Operation component to not trigger its own re-render 2017-11-09 16:28:53 -08:00
Josh Ponelat
91d4ab96d7 partial specPath changes 2017-11-03 17:50:46 +02:00
Kyle Shockey
afa615e01d Add URL sanitizer to avoid javascript: XSS attack vector 2017-10-30 17:43:23 -07:00
Owen Conti
b15942dfe1 Merge branch 'ft/performance' of github.com:swagger-api/swagger-ui into ft/performance
# Conflicts:
#	src/core/components/responses.jsx
2017-10-22 12:55:51 -06:00
Kyle Shockey
b0a580bdc1 Display Tag descriptions as Markdown 2017-09-20 16:55:45 -07:00
Owen Conti
9f5a307fce Merge branch 'ft/performance' into ft/3584-operation-container-component
# Conflicts:
#	src/core/components/operation.jsx
#	src/core/components/operations.jsx
#	src/core/components/responses.jsx
2017-09-15 22:03:14 -06:00
Kyle
fa312cb70d Merge branch 'master' into bug/oas3-accept-controls 2017-09-15 20:11:20 -07:00
Owen Conti
a6e070ac76 Replace spaces with underscores when setting the hash value and inserting the ID into the DOM. Escape the deep link path when querying for the DOM element on hash change. 2017-09-13 21:32:46 -06:00
Owen Conti
430e2a970f Fixes #3596
Wrap `isShownKey` values in a function that replaces spaces with underscores. When parsing the hash on route change, replace the spaces in the values with underscores again.
2017-09-13 17:20:37 -06:00
Kyle Shockey
277cc81a8c OAS3 Accept header control: State-side 2017-09-12 19:39:52 -07:00
Kyle Shockey
5da3843281 Refactor: use ternary operators at attribute level instead of element level 2017-08-25 12:06:11 -07:00
Surya
f7efd58305 Removed href attribute from anchor tag if deeplinking is disabled 2017-08-25 23:43:56 +05:30
Owen Conti
050f4d1918 Clean up OperationContainer props. 2017-08-20 17:02:51 -06:00
Owen Conti
7cc9f9a4db Update Operations component to call OperationContainer instead of Operation.jsx 2017-08-20 07:57:07 -06:00
Kyle
08bb9fb7f3 Merge branch 'master' into xlink-deprecated 2017-08-11 16:45:53 -07:00
Kyle Shockey
c29e05d726 Display tag externalDocs 2017-08-01 19:34:56 -07:00
Austin
73f89fc2fd Added href attribute to <use> tags with deprecated xlinkHref attribute. 2017-07-19 20:16:53 -05:00
Kyle Shockey
66cb3ff2c0 Use swagger-client opId helper to generate layout keys for operations 2017-07-14 03:17:57 -07:00
Kyle Shockey
556e40e6d4 Don't place fragment links if deep linking is disabled 2017-07-14 01:50:49 -07:00
Kyle Shockey
73845907a3 Add anchors for tags and operations 2017-07-14 01:13:30 -07:00
Kyle Shockey
41ecceed87 Rewire operation/tag DOM ids; implement hash scroll-to 2017-07-14 00:46:21 -07:00
Kyle Shockey
79f91b2e3e Rearrange isShownKey to make more sense
Tag then ID is closer to representing the underlying data structure
2017-07-14 00:19:02 -07:00
Kyle Shockey
c051952081 Use operationIds from swagger-js if available, in layout triggers 2017-07-13 22:48:12 -07:00
Kyle Shockey
66c8778a29 Remove obsolete prop from validation 2017-07-11 22:05:38 -07:00
Kyle Shockey
28f7a15fe9 Use state instead of component hand-down for managing filter 2017-07-11 21:54:56 -07:00
Gwyn Judd
c3f9c094d1 Added maxRows and filter support
Useful for the display of very large swagger specs. Can limit the number of operations to a smaller value and search
2017-07-11 09:38:20 +12:00
shockey
b72aa3a7c8 Merge branch 'master' into webpack-migration-2.x 2017-06-29 18:23:36 -07:00
RVKen
d36f0a6dbd fix eslint issues 2017-06-29 04:37:19 +02:00
Owen Conti
0c6f5e8d32 Add displayRequestDuration configuration option. 2017-06-26 21:13:17 -06: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
Gwyn Judd
eb929d3129 Added support for docExpansion config 2017-06-02 09:02:29 +12: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
e1fcbfbf09 Linter error fixes 2017-03-23 16:36:45 -07:00
Minasokoni
2b37eeff9c removed expand button 2017-03-19 12:22:42 -07:00
Ron
f22a628934 in with the new 2017-03-17 21:17:53 -07:00