Timothy Lai
85c40f16af
config(mocha): require 'esm' depedency
2020-07-28 13:37:07 -07:00
Timothy Lai
f0208e8f41
config(webpack): add env.test and replace .babelrc
...
* .babelrc replacement ref: https://babeljs.io/docs/en/config-files
2020-07-24 13:53:54 -07:00
Timothy Lai
e13bc29aad
config(mocha): create .mocharc config file
2020-07-24 13:53:54 -07:00
Timothy Lai
8c9b3c93a0
deps(mocha): update to mocha@7.2.0
2020-07-24 13:53:54 -07:00
Timothy Lai
eb4a9d54f7
deps(mocha): update to mocha 6.2.3 with security update
2020-07-24 13:53:54 -07:00
Timothy Lai
3cafd6086e
config(mocha): remove deprecated --compiler flag
2020-07-24 13:53:54 -07:00
swaggerhub-bot
d8521c1bc0
chore(release): cut the v3.30.2 release
2020-07-22 20:37:48 +00:00
Tim Lai
ba7aefecad
build(webpack): remove LodashModuleReplacementPlugin ( #6255 )
2020-07-22 13:05:26 -07:00
Timothy Lai
ea5b64bca3
build(webpack): remove LodashModuleReplacementPlugin
2020-07-22 12:40:30 -07:00
swaggerhub-bot
c654d08af8
chore(release): cut the v3.30.1 release
2020-07-21 19:36:10 +00:00
Tim Lai
60b411e8c0
build(webpack): enable lodash options ( #6248 )
2020-07-21 10:49:13 -07:00
Tim Lai
d12662e354
build(webpack): bundle size optimization for lodash ( #6244 )
...
* add duplicate code detection check for general purpose use
* webpack alias for lodash
* redux and react-redux dependency bump that removes lodash dependencies
* lodash version match with swagger-client and recent security update
* additional webpack config to help reduce build sizes
* restore max bundle size back to 1024000
2020-07-20 20:26:56 -07:00
Renovate Bot
cb16ba4e6a
housekeeping(dev-deps): autoprefixer@9.8.5
2020-07-17 23:45:28 +00:00
swaggerhub-bot
42dc02c6a2
chore(release): cut the v3.30.0 release
2020-07-17 22:50:30 +00:00
Tim Lai
a73783b73d
feat: syntax highlighting of code section ( #6236 )
...
Co-authored-by: AdrieanKhisbe <adriean.khisbe@live.fr >
2020-07-17 15:29:15 -07:00
renovate[bot]
9e294fbab5
housekeeping(deps): lodash@4.17.19 [security] ( #6230 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2020-07-17 13:48:25 -07:00
swaggerhub-bot
9bca433ab2
chore(release): cut the v3.29.0 release
2020-07-17 02:37:48 +00:00
Tim Lai
251ea10d94
config: increase max bundle size to 1024 KiB ( #6231 )
2020-07-16 19:19:21 -07:00
renovate[bot]
8b54d5a63e
housekeeping(deps): swagger-client@3.10.12 ( #6216 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2020-07-16 18:28:00 -07:00
Wesley Schwengle
e85b6f2837
fix(Docker) #6211 : Bug where SWAGGER_JSON is used without mount ( #6212 )
2020-07-16 18:18:56 -07:00
Tim Lai
2fd1e4037c
feat(RequestBody): validation support for required fields ( #6223 )
...
fixes #5181
* application/json
* application/xml
* application/x-www-form-urlencoded
* Set requestBodyValue values to be an immutable Map, as "value". Previously stored as a normal String.
* This enables adding "errors" to the Map, for validation use
* note: getOAS3RequiredRequestBodyContentType requires state.spec,
* which is not available to state.oas3
2020-07-16 17:53:28 -07:00
Tim Lai
b68942c043
feat(RequestBody): set default true for 'send empty value' ( #6228 )
2020-07-16 17:01:18 -07:00
Tim Lai
eacc7b92d1
Revert "revert: feat: Allow to skip submitting empty values in form data ( #5830 )" ( #6227 )
...
This reverts commit 1b6cb7d1bf .
2020-07-15 16:07:32 -07:00
Vladimir Gorej
1b6cb7d1bf
revert: feat: Allow to skip submitting empty values in form data ( #5830 )
...
This reverts commit b9b32c9c93 .
Refs #6203 #5830
2020-07-07 16:17:36 +02:00
Vladimir Gorej
e3b3bf03d4
build(bundle): use ES6 to import swagger-client symbols ( #6208 )
...
swagger-client in versions =3.10.9 exports it's build artifacts in multiple ways.
One artifact is exposed as ES5 compatible code with ES6 imports.
We use this fact to utilize webpack tree shaking algorithm.
This commit also updates swagger-client to v3.10.0
and decreases bundle size for around 10%.
2020-07-06 14:19:09 +02:00
Renovate Bot
f0f358bd8a
housekeeping(dev-deps): eslint-plugin-react@7.20.3
2020-07-04 13:43:06 +00:00
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