Vladimír Gorej
47e12f1de3
refactor(oas31): simplify Webhooks component by utilizing selectors ( #8481 )
...
Refs #8474
2023-03-17 18:14:23 +01:00
Tim Lai
d68b7485b1
fix(lint): upcoming eslint@8 reported errors ( #8105 )
...
* fix: duplicate propTypes
* chore(lint): fix extra semicolon
2022-07-19 14:46:43 -07:00
Mahtis Michel
84358aeb78
refactor: operations component ( #7044 )
2021-03-10 15:14:41 -08:00
Lucia Sarni
aa53ec24b8
fix(filter): avoid filtering by the strings "true/false" when enabled ( #6477 )
2020-10-08 13:52:56 -07:00
geraldglynn
d9f5691f65
fix(OAS3): relative urls ( #5341 )
...
* Added tooling for appending OAS3 relative URLs to selected Server
Info
* Terms of service URL
* Contact URL
* License URL
* External Docs URL
Tag
* Tag External Docs URL
Operation
* Operation External Docs
** Operation Tag
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2020-08-04 13:21:19 -07:00
Josh Ponelat
90157c1a40
Refactor deep-linking, in the process extracted out OperationsTag ( #4349 )
...
* add configsActions.loaded hook
* add OperationTag to hold Operations
* fix test for operations
* refactor deep-linking plugin
2018-06-01 13:19:44 -07:00
David Vujic
e6722d87aa
improve: filter as a plugin ( #4255 )
2018-02-27 15:44:30 -08:00
Helder Sepulveda
4599033b5a
fix(rendering): operation expand/collapse button title ( #4130 )
2018-01-24 16:48:04 -08:00
Helder Sepulveda
2ab6fcc49b
fix(render-tags): always preserve small element ( #4129 )
2018-01-23 16:58:20 -08:00
Kyle Shockey
9bad35ed85
Refactor specPath to Im data structures to avoid waste renders
2017-12-28 18:04:12 -06:00
Greg Thompson
d2e931f3e1
DeepLink feedback
2017-12-11 14:27:28 -06:00
Greg Thompson
f21601b0e8
Merge branch 'master' into ft/deeplinking-link-component
2017-12-08 09:54:58 -06:00
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
Greg Thompson
661b60fade
add isShown prop
2017-12-04 14:14:28 -06:00
Greg Thompson
0b8cd7e32f
add presentational component to allow for wrapping deeplinking links
2017-12-01 14:30:37 -06: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