Helen Kosova
fd5a59a3fd
feat: Display minProperties an maxProperties for object schemas ( #6272 )
4 years ago
David Goss
cfede146ff
fix(style): make paths try to stay on single line in opblock ( #6243 )
4 years ago
Helen Kosova
4cbae095fc
fix(try-it-out): Better tooltips for min/max validations ( #6266 )
4 years ago
Helen Kosova
bd9117da8e
fix: Replace an inline styleswith propClass ( #6265 )
4 years ago
Helen Kosova
887563ab79
docs: Improve descriptions of syntaxHighlight parameters ( #6242 )
4 years ago
Tim Lai
14278e83dc
fix: use es2015 modules for react-syntax-highlighter ( #6246 )
4 years ago
Tim Lai
83a2b497b7
Merge housekeeping: update mocha with webpack env
4 years ago
Timothy Lai
85c40f16af
config(mocha): require 'esm' depedency
4 years ago
Timothy Lai
f0208e8f41
config(webpack): add env.test and replace .babelrc
* .babelrc replacement ref: https://babeljs.io/docs/en/config-files
4 years ago
Timothy Lai
e13bc29aad
config(mocha): create .mocharc config file
4 years ago
Timothy Lai
8c9b3c93a0
deps(mocha): update to mocha@7.2.0
4 years ago
Timothy Lai
eb4a9d54f7
deps(mocha): update to mocha 6.2.3 with security update
4 years ago
Timothy Lai
3cafd6086e
config(mocha): remove deprecated --compiler flag
4 years ago
swaggerhub-bot
d8521c1bc0
chore(release): cut the v3.30.2 release
4 years ago
Tim Lai
ba7aefecad
build(webpack): remove LodashModuleReplacementPlugin ( #6255 )
4 years ago
Timothy Lai
ea5b64bca3
build(webpack): remove LodashModuleReplacementPlugin
4 years ago
swaggerhub-bot
c654d08af8
chore(release): cut the v3.30.1 release
4 years ago
Tim Lai
60b411e8c0
build(webpack): enable lodash options ( #6248 )
4 years ago
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
4 years ago
Renovate Bot
cb16ba4e6a
housekeeping(dev-deps): autoprefixer@9.8.5
4 years ago
swaggerhub-bot
42dc02c6a2
chore(release): cut the v3.30.0 release
4 years ago
Tim Lai
a73783b73d
feat: syntax highlighting of code section ( #6236 )
Co-authored-by: AdrieanKhisbe <adriean.khisbe@live.fr>
4 years ago
renovate[bot]
9e294fbab5
housekeeping(deps): lodash@4.17.19 [security] ( #6230 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
swaggerhub-bot
9bca433ab2
chore(release): cut the v3.29.0 release
4 years ago
Tim Lai
251ea10d94
config: increase max bundle size to 1024 KiB ( #6231 )
4 years ago
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>
4 years ago
Wesley Schwengle
e85b6f2837
fix(Docker) #6211 : Bug where SWAGGER_JSON is used without mount ( #6212 )
4 years ago
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
4 years ago
Tim Lai
b68942c043
feat(RequestBody): set default true for 'send empty value' ( #6228 )
4 years ago
Tim Lai
eacc7b92d1
Revert "revert: feat: Allow to skip submitting empty values in form data ( #5830 )" ( #6227 )
This reverts commit 1b6cb7d1bf
.
4 years ago
Vladimir Gorej
1b6cb7d1bf
revert: feat: Allow to skip submitting empty values in form data ( #5830 )
This reverts commit b9b32c9c93
.
Refs #6203 #5830
4 years ago
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%.
4 years ago
Renovate Bot
f0f358bd8a
housekeeping(dev-deps): eslint-plugin-react@7.20.3
4 years ago
Renovate Bot
93784669bc
housekeeping(dev-deps): copy-webpack-plugin@6.0.3
4 years ago
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.
4 years ago
Renovate Bot
75f3d7a9e7
housekeeping(dev-deps): babel monorepo@7.10.4
4 years ago
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.
4 years ago
swaggerhub-bot
3cef227368
chore(release): cut the v3.28.0 release
4 years ago
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.
4 years ago
Renovate Bot
9420dc8293
housekeeping(dev-deps): eslint-plugin-react@7.20.1
4 years ago
Renovate Bot
575af214db
housekeeping(dev-deps): eslint-plugin-import@2.22.0
4 years ago
Vladimir Gorej
169c6b5431
build(release-it): configure proper release commit msg
4 years ago
Vladimir Gorej
43779bc5b3
chore(package): bump swagger-client to 3.10.9 version
4 years ago
Renovate Bot
cecb95afd6
housekeeping(dev-deps): autoprefixer@9.8.4
4 years ago
Tim Lai
a1589a679c
style: replace var with let in /test files ( #6164 )
4 years ago
Tim Lai
faae3e9d2c
style: fix indent spaces from 4 to 2 in test files ( #6163 )
4 years ago
Renovate Bot
e53d450cbc
housekeeping(dev-deps): autoprefixer@9.8.3
4 years ago
Vladimir
41e595beda
feat: Display `nullable` for object model itself ( #5660 ) ( #5868 )
4 years ago
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
4 years ago
geraldglynn
93020e2803
fix: avoid mapping Immutable.Map as React children ( #6165 )
Ref https://github.com/immutable-js/immutable-js/issues/667
4 years ago