Renovate Bot
93784669bc
housekeeping(dev-deps): copy-webpack-plugin@6.0.3
2020-07-04 12:50:23 +00:00
Vladimir Gorej
95c3da19cc
refactor(swagger-client): fix import of helpers ( #6190 )
...
Import of helpers from swagger-client worked because of the fact
that commonjs exports are basically an objects that can be destructured.
Whenever swagger-client switches to ES6 imports as primary mechanism
of webpack consuptions imports like that will fail. This change makes
sure that import mechanism is both compatible with ES6 and commonjs
import systems.
Along with that rename default import of swagger-client
to more appropriate SwaggerClient.
2020-07-04 13:50:36 +02:00
Renovate Bot
75f3d7a9e7
housekeeping(dev-deps): babel monorepo@7.10.4
2020-07-04 10:35:45 +00:00
Vladimir Gorej
4f2e8ad7d1
build(webpack): move resolve alises to one common place
...
As resolving applies to everything and not just specific builds
the resolve.aliases have been moved to one common place.
2020-07-04 11:26:17 +02:00
swaggerhub-bot
3cef227368
chore(release): cut the v3.28.0 release
2020-06-29 12:43:36 +00:00
Vladimir Gorej
c30760cfe5
build(webpack): make sure we're not bundling same deps twice
...
As versions of libraries that are both used by swagger-js and swagger-ui
may diverge in time, we must use webpack resolve aliases to make sure
that only one version of these libraries gets bundled.
2020-06-29 14:19:38 +02:00
Renovate Bot
9420dc8293
housekeeping(dev-deps): eslint-plugin-react@7.20.1
2020-06-28 23:49:48 +00:00
Renovate Bot
575af214db
housekeeping(dev-deps): eslint-plugin-import@2.22.0
2020-06-27 08:01:32 +00:00
Vladimir Gorej
169c6b5431
build(release-it): configure proper release commit msg
2020-06-25 20:36:22 +02:00
Vladimir Gorej
43779bc5b3
chore(package): bump swagger-client to 3.10.9 version
2020-06-25 20:36:22 +02:00
Renovate Bot
cecb95afd6
housekeeping(dev-deps): autoprefixer@9.8.4
2020-06-24 10:45:51 +00:00
Tim Lai
a1589a679c
style: replace var with let in /test files ( #6164 )
2020-06-23 10:16:23 -07:00
Tim Lai
faae3e9d2c
style: fix indent spaces from 4 to 2 in test files ( #6163 )
2020-06-23 09:44:24 -07:00
Renovate Bot
e53d450cbc
housekeeping(dev-deps): autoprefixer@9.8.3
2020-06-23 15:49:58 +00:00
Vladimir
41e595beda
feat: Display nullable for object model itself ( #5660 ) ( #5868 )
2020-06-22 18:01:33 -07:00
geraldglynn
e1e4d5bf83
fix: render Common Extensions propertly in React 16 ( #5930 )
...
Avoid mapping Immutable.Map as React children.
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com >
Ref https://github.com/immutable-js/immutable-js/issues/667
2020-06-22 18:08:03 +02:00
geraldglynn
93020e2803
fix: avoid mapping Immutable.Map as React children ( #6165 )
...
Ref https://github.com/immutable-js/immutable-js/issues/667
2020-06-22 17:57:00 +02:00
Renovate Bot
c6f1c163fb
housekeeping(dev-deps): autoprefixer@9.8.2
2020-06-21 03:49:41 +00:00
Renovate Bot
468342f8dc
housekeeping(dev-deps): autoprefixer@9.8.1
2020-06-19 23:48:05 +00:00
Renovate Bot
32c88579f9
housekeeping(dev-deps): babel monorepo@7.10.3
2020-06-19 21:55:07 +00:00
swaggerhub-bot
091a9debfa
release: v3.27.0
2020-06-18 20:25:42 +00:00
Tim Lai
9ce2a9adca
housekeeping: update swagger-client v3.10.8 ( #6162 )
2020-06-18 13:07:22 -07:00
Tim Lai
b86e8e96dd
fix: curlify agnostic to order of header values ( #6152 )
...
Refs #6082
* use curlify flag isMultipartFormDataRequest
* curlify test updated
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com >
2020-06-18 12:34:52 -07:00
Helen Kosova
269543f82e
Fix: typo in a feature request template ( #6151 )
2020-06-18 11:12:33 -07:00
Renovate Bot
deb673cd4c
housekeeping(dev-deps): webpack-cli@3.3.12
2020-06-18 14:59:44 +00:00
Vladimir Gorej
63f94db4b3
chore(git): add chromedriver.log to ignores
2020-06-17 16:28:03 +02:00
Wesley Schwengle
bec0533d5c
Fix(Docker): case where SWAGGER_ROOT in conjunction with BASE_URL does not work ( #6147 )
2020-06-15 18:04:28 -07:00
Tim Lai
eeb0b7387f
fix: remove clipboard inline svg from a file with SASS ( #6148 )
...
* directly load data:image/svg+xml
* current webpack config only allows inline file via jsx
2020-06-15 17:55:40 -07:00
Alex Mayants
71d4e59505
improvement: Call DomPurify.addHook only if it exists ( #5428 )
...
On server-side execution `dompurify` exports factory function instead of
a purifier instance. Because of this, server-side code that imports
SwaggerUI (e.g. via `swagger-ui-react`) fails, since `DomPurify.addHook`
does not exist.
This affects universal rendering apps which share code
between client-side and server-side.
2020-06-15 15:37:52 -07:00
David DE CARVALHO
ca1b19a31b
feat: Display example value in Swagger ReadOnly documentation ( #4422 )
2020-06-15 15:23:28 -07:00
Aldrin Abastillas
973e1f7a9b
feat: Copy response to clipboard #4300 ( #5278 )
...
* Move next to download button and match styling
Co-authored-by: Aldrin Abastillas <AAbastillas@rcanalytics.com >
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2020-06-15 15:08:10 -07:00
blacktemplar
f8dd4e68ec
feat(model view): hide applicable readOnly and writeOnly properties ( #5832 )
2020-06-15 13:47:26 -07:00
geraldglynn
59bbe4ff2f
Added onLoad()s and tweaker onToggle() to support ScrollTo functionality for Models ( #5237 )
2020-06-15 13:04:14 -07:00
Tim Lai
b3fc05b3fe
fix: prevent CI trigger from docs/samples/webpack-getting-started ( #6145 )
...
* README updated
* renamed package.json to _sample_package.json
* removed package-lock.json
2020-06-15 12:54:43 -07:00
Shaun Luttin
75a2b9a5cc
Demonstrate a simple Webpack setup ( #5185 )
2020-06-15 11:20:08 -07:00
Renovate Bot
f3b253af1c
housekeeping(dev-deps): css-loader@3.6.0
2020-06-13 15:40:28 +00:00
Jordan Garside
bd1b297b56
feat(swagger-ui-react): add displayOperationId config support ( #5795 )
2020-06-12 14:28:42 -07:00
swaggerhub-bot
ae33deeaab
release: v3.26.2
2020-06-12 13:09:03 +00:00
swaggerhub-bot
9a0927b52c
release: v3.26.1
2020-06-11 21:31:19 +00: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
Gary Gale
48a0b46942
improvement: Make background SVGs consistent ( #5478 )
...
* Replace Base64 encoded SVGs with unencoded version. Replace partially URL encoded SVGs with unencoded version, removing extraneous LF character
2020-06-10 17:34:53 -07:00
tomdegoede
fc3ed30f3d
improvement: Move inline styles to SCSS instead ( #5578 )
...
* fix: convert propStyle to propClass
2020-06-10 16:39:48 -07:00
Wesley Schwengle
67627d7587
Remove max-width for textarea media < 768px ( #6014 )
...
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2020-06-10 16:20:35 -07:00
Wesley Schwengle
117dcc9b16
Disable the validation badge for those who do not want it ( #5994 )
...
* disabled on string values: "127.0.0.1", "localhost", "none"
2020-06-10 15:31:35 -07:00
John
21f51494a2
fix: support variables in auth urls ( #5913 )
2020-06-10 14:45:02 -07:00
Vladimir Gorej
01fb5c07ab
chore(package): freeze release-it library and it's deps
...
Refs #6126
2020-06-10 23:24:02 +02:00
Matthew Morrissette
275c8f2ccf
improvement: oauth "scopes" improvements ( #6037 )
...
* improvement: oauth "scopes" init parameter
* improvement: add "select all" and "select none" to oauth scopes popup
2020-06-10 11:27:54 -07:00
Renovate Bot
4497387d62
housekeeping(dev-deps): eslint-plugin-import@2.21.2
2020-06-10 03:47:38 +00:00
Wesley Schwengle
f3539748d3
fix: Allow local ref's to be served by nginx ( #5565 )
2020-06-09 17:16:06 -07:00
Christian Mehlmauer
5217366c09
add swagger url option ( #6122 )
2020-06-09 16:49:15 -07:00