Tim Lai
6ecc1809a7
chore(deps-dev): update cypress from 3.8.3 to 4.12.1 ( #6310 )
2020-08-17 15:33:24 -07:00
Tim Lai
02e0515b97
fix(cypress): deep-linking tests should use cy.location ( #6309 )
2020-08-17 14:55:17 -07:00
Tim Lai
471c24dfcb
fix(cypress): tests should fail on uncaught exception ( #6308 )
...
* also remove broken file logging
ref #6305
2020-08-17 13:58:57 -07:00
Tim Lai
168d0ae7ac
fix(Models): onLoad should check this.props.layoutSelectors method ( #6307 )
...
ref #6305
2020-08-17 13:38:16 -07:00
swaggerhub-bot
3e144f5f7d
chore(release): cut the v3.32.1 release
2020-08-14 23:16:14 +00:00
Tim Lai
c362329614
fix(build): init new es-bundle files ( #6304 )
2020-08-14 15:52:24 -07:00
swaggerhub-bot
28a8912a19
chore(release): cut the v3.32.0 release
2020-08-14 21:28:40 +00:00
Tim Lai
c5753248ab
feat(swagger-ui-react): es module ( #6303 )
2020-08-14 13:53:05 -07:00
Tim Lai
d521b8c5b1
build: change globalObject to "this" for es bundles ( #6301 )
2020-08-14 11:10:27 -07:00
Pontus Wallberg
d0ae61f8c9
change globalObject to "this" ( #6287 )
...
Co-authored-by: Pontus Wallberg <pontus.wallberg@configura.com >
2020-08-14 10:47:32 -07:00
Tim Lai
b579c713d9
fix: remove missing script references ( #6300 )
2020-08-14 08:24:46 -07:00
Tim Lai
e1573527de
docs(scripts): update building and testing scripts ( #6298 )
2020-08-13 19:53:16 -07:00
Tim Lai
2eaa6c10e4
feat(build): es2015 bundle artifact ( #6291 )
...
* es2015 bundle with dependencies via npm script build:es:bundle
* es2015 bundle without dependencies via npm script build:es:bundle
* jest dependency for test:artifact
* migrate babel.config.json to babel.config.js and maintain env support for commonjs and es2015
* remove polyfill
* fix es syntax: replace module.exports with export
* fix es syntax: remove .jsx extension inside import
2020-08-13 17:21:55 -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
Alec Theriault
225a915cf8
fix: escape $ in curl request bodies and headers ( #6245 )
...
This address a bug where a `$` character in a request body or header
would not be properly escaped in a string in the generated curl command.
Fixes #5390
2020-08-03 09:07:06 -07:00
dependabot[bot]
28b3b4c4b6
build(deps): bump elliptic from 6.5.2 to 6.5.3 ( #6274 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2020-08-03 08:45:15 -07:00
geraldglynn
084b236f76
fix(Models): use specPath for isShownKey to toggle models ( #6200 )
...
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2020-07-31 18:40:47 -07:00
Irena Shaigorodsky
d7d166d0a4
fix: specify charset utf-8 in html script declaration ( #6278 )
...
ref: #5311
2020-07-31 16:51:17 -07:00
Tim Lai
22668ee8d3
fix(OAS3): servers component update on definition change ( #6280 )
...
* fix(OAS3): servers component should use nextProps
* test(OAS3): cypress tests for selecting multiple servers
* test(OAS3): multiple server test with definition change
2020-07-31 16:22:17 -07:00
Tim Lai
abcc3837e9
fix(requestInterceptor): use async/await to support return new Promise ( #6279 )
...
ref: #4778
2020-07-31 10:07:52 -07:00
swaggerhub-bot
752488edf7
chore(release): cut the v3.31.1 release
2020-07-30 18:09:18 +00:00
Tim Lai
7a6999b7f3
fix(swagger-ui-react): updated babel config file target ( #6277 )
2020-07-30 10:48:28 -07:00
swaggerhub-bot
9bae8fd78b
chore(release): cut the v3.31.0 release
2020-07-30 16:58:58 +00:00
Tim Lai
aebfcc091a
Tmkasun ft/5367 support passing presets and default models expand depth ( #6275 )
...
* feat(swagger-ui-react): support for presets and defaultModelsExpandDepth
Co-authored-by: Kasun Thennakoon <tmkasun@gmail.com >
2020-07-29 16:50:16 -07:00
Tim Lai
b99ebe7dd3
feat(swagger-ui-react): option for showMutatedRequest ( #6273 )
...
Co-authored-by: neel <neelima.sri.vathsavai@autodesk.com >
2020-07-29 16:11:20 -07:00
Helen Kosova
fd5a59a3fd
feat: Display minProperties an maxProperties for object schemas ( #6272 )
2020-07-29 14:06:24 -07:00
David Goss
cfede146ff
fix(style): make paths try to stay on single line in opblock ( #6243 )
2020-07-29 13:30:20 -07:00
Helen Kosova
4cbae095fc
fix(try-it-out): Better tooltips for min/max validations ( #6266 )
2020-07-28 17:10:40 -07:00
Helen Kosova
bd9117da8e
fix: Replace an inline styleswith propClass ( #6265 )
2020-07-28 16:58:57 -07:00
Helen Kosova
887563ab79
docs: Improve descriptions of syntaxHighlight parameters ( #6242 )
2020-07-28 16:46:25 -07:00
Tim Lai
14278e83dc
fix: use es2015 modules for react-syntax-highlighter ( #6246 )
2020-07-28 16:35:53 -07:00
Tim Lai
83a2b497b7
Merge housekeeping: update mocha with webpack env
2020-07-28 15:53:25 -07:00
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