Fabian Schneider
6ae2693d47
feat: Render external docs links and descriptions ( #7559 )
...
Co-authored-by: Tim Lai <timothy.lai@smartbear.com >
2022-08-17 10:42:36 -07:00
Andreas Deininger
9891d97201
docs: fix typos and update https references ( #8154 )
...
Co-authored-by: Tim Lai <timothy.lai@smartbear.com >
2022-08-12 10:14:27 -07:00
Mahtis Michel
a920357c22
object model should also show example of schema in info below closing bracket ( #6453 )
2020-10-02 14:15:55 -07:00
Tim Lai
d4eea4da1b
fix: models view when object key contains deprecated:true ( #6371 )
...
fixes #6369
2020-09-09 16:43:01 -07:00
Helen Kosova
fd5a59a3fd
feat: Display minProperties an maxProperties for object schemas ( #6272 )
2020-07-29 14:06:24 -07:00
Helen Kosova
bd9117da8e
fix: Replace an inline styleswith propClass ( #6265 )
2020-07-28 16:58:57 -07:00
Vladimir
41e595beda
feat: Display nullable for object model itself ( #5660 ) ( #5868 )
2020-06-22 18:01:33 -07:00
blacktemplar
f8dd4e68ec
feat(model view): hide applicable readOnly and writeOnly properties ( #5832 )
2020-06-15 13:47:26 -07:00
Vladimir Gorej
a616cb471d
fix(Markdown): render markdown in more secure way
...
This commit changes markdown sanitization behaviour in following way:
class, style and data-* attributes are removed by default. These attributes
open possible vulnerability vectors to attackers.
The original behavior of sanitizer (before this commit) can be enabled by *useUnsafeMarkdown* configuration option.
Use this configuration option with caution and only in cases when you know
what you're doing.
2020-06-11 21:51:15 +02:00
tomdegoede
fc3ed30f3d
improvement: Move inline styles to SCSS instead ( #5578 )
...
* fix: convert propStyle to propClass
2020-06-10 16:39:48 -07:00
Tim Lai
c30862ef42
bug: expanding model when query param showExtensions=true exists
2020-03-16 14:34:32 -07:00
M-Vainauskas
96c444e81e
improvement: relax schema description styling so Markdown can be effective (via #5340 )
2019-05-15 20:34:48 -07:00
kyle
9155eb946e
fix: always display locally-available title property as a model's name ( #4542 )
...
* fix: always display locally-available `title` property as a model's name
* fix failing unit test
* add e2e test case
2018-05-10 22:15:36 -07:00
maryscar
66e9bd735a
fix: model property color contrast ( #4540 )
2018-05-10 16:19:59 -07:00
kyle
63d5f164c6
fix(core-components): make onToggle a non-required prop in ModelCollapse ( #4100 )
2018-01-11 16:56:36 -06:00
Kyle Shockey
9bad35ed85
Refactor specPath to Im data structures to avoid waste renders
2017-12-28 18:04:12 -06:00
kyle
af14cc9e78
Add missing comma
2017-12-11 19:09:00 -08:00
kyle
a94c6c0e7f
Merge branch 'master' into feature/deeplink-zenscroll
2017-12-11 19:05:16 -08:00
Kyle Shockey
60ee667688
Linter & test harness fixes
2017-12-07 17:07:30 -08:00
kyle
bfb4c7a8d7
Merge branch 'master' into feature/spec-path
2017-12-07 16:49:34 -08:00
Josh Ponelat
3893cb4396
deep linking for models, operations and tags
2017-12-04 16:10:42 +02:00
Kyle Shockey
c70e0f8c38
Display object model extensions correctly
2017-11-23 12:28:37 -06:00
kyle
40f8481127
Merge branch 'master' into ft/3052-extensions
2017-11-22 22:16:21 -08:00
Kyle Shockey
44d9234971
Don't treat not as an array (in contrast to allOf, anyOf)
2017-11-21 14:08:55 -08:00
Greg Thompson
31694d7533
Merge branch 'master' into ft/3052-extensions
2017-11-17 11:00:43 -06:00
Greg Thompson
86680825af
add deprecated class to tr of deprecated schema
2017-11-16 13:26:07 -06:00
Greg Thompson
0d0b3279bb
Merge branch 'master' into ft/3052-extensions
2017-11-13 09:29:19 -06:00
Kyle Shockey
e33de3049f
Refactor Operation component to not trigger its own re-render
2017-11-09 16:28:53 -08:00
Greg Thompson
91dab7b166
getConfigs prop expansion; limit extension render based on config setting
2017-11-09 10:22:41 -06:00
Josh Ponelat
91d4ab96d7
partial specPath changes
2017-11-03 17:50:46 +02:00
Kyle Shockey
d39464407f
Fix incorrect props rest/spreading
2017-08-05 10:48:28 -07:00
Kyle
719db39ac4
Merge branch 'master' into bug/3500-missing-name-for-primitives
2017-08-04 16:27:35 -07:00
Kyle
19e09c2296
Merge branch 'master' into bug/3500-missing-name-for-primitives
2017-08-04 16:27:25 -07:00
Kyle
859ae1fd19
Merge branch 'master' into bug/3480-model-description-over-the-edge
2017-08-04 16:23:50 -07:00
Kyle
c664e39908
Update object-model.jsx
2017-08-03 16:22:42 -07:00
Kyle
c72c476f4b
Merge branch 'master' into bug/editor-1418-oas3-jump-to-model
2017-08-03 16:17:39 -07:00
Kyle Shockey
b16907ce6d
Create valid paths for model jumping in OAS3
2017-08-03 16:15:47 -07:00
Kyle Shockey
4cd88d3360
Support oneOf + anyOf + not
2017-08-02 16:37:57 -07:00
Owen Conti
d64dfc4252
Fixes #3500 - Fix missing names for primitive models
2017-08-01 20:46:41 -06:00
Owen Conti
ea75eddcfb
Fixes #3480
...
Change margin-left to padding-left on '&:first-of-type' table cells. Adjust width of table cell to account for padding.
2017-07-30 16:22:49 -06:00
Owen Conti
a18c100d3f
Reimplemented fixes after merge with master
2017-07-17 18:46:29 -06:00
Owen Conti
bd31d3dedf
Reimplemented changes after merge with master
2017-07-11 17:02:53 -06:00
Owen Conti
15e105c931
Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3102-unguarded-expressions
...
# Conflicts:
# src/core/components/model.jsx
# src/core/components/models.jsx
2017-07-03 16:12:31 -06:00
Owen Conti
d27cae0085
Work on #3102 . Moved all the components out of model.jsx into their own files so they can be grabbed via getComponent()
2017-06-28 22:07:07 -06:00