Commit Graph

4708 Commits

Author SHA1 Message Date
dependabot[bot]
23323bbbff chore(deps-dev): bump @babel/plugin-proposal-optional-chaining from 7.12.7 to 7.12.13 2021-02-03 02:51:11 -05:00
dependabot[bot]
df3ae82ac0 chore(deps-dev): bump @babel/core from 7.12.10 to 7.12.13 2021-02-03 02:35:37 -05:00
dependabot[bot]
4d8737a100 chore(deps-dev): bump @babel/plugin-transform-runtime from 7.12.10 to 7.12.13 2021-02-03 02:31:40 -05:00
dependabot[bot]
160196210e chore(deps-dev): bump @babel/plugin-proposal-nullish-coalescing-operator from 7.12.1 to 7.12.13 2021-02-03 02:30:06 -05:00
dependabot[bot]
28b662dba7 chore(deps-dev): bump @babel/preset-react from 7.12.10 to 7.12.13 2021-02-03 02:28:05 -05:00
dependabot[bot]
faf8b5b8c1 chore(deps): bump @babel/runtime-corejs3 from 7.12.5 to 7.12.13 2021-02-03 00:48:55 -05:00
dependabot[bot]
8c317ebe6a chore(deps-dev): bump @babel/register from 7.12.10 to 7.12.13 2021-02-03 00:43:05 -05:00
dependabot[bot]
7fedf5ee87 chore(deps-dev): bump @babel/cli from 7.12.10 to 7.12.13 2021-02-03 00:31:10 -05:00
dependabot[bot]
82ee90f7f4 chore(deps-dev): bump @babel/preset-env from 7.12.11 to 7.12.13 2021-02-03 00:26:53 -05:00
dependabot[bot]
954f0564ab chore(deps-dev): bump @babel/plugin-proposal-class-properties from 7.12.1 to 7.12.13 2021-02-03 00:24:44 -05:00
dependabot[bot]
d2003ef326 chore(deps-dev): bump open from 7.3.1 to 7.4.0 2021-02-02 00:21:11 -05:00
swagger-bot
4be20654c6 chore(release): cut the v3.41.1 release 2021-01-28 19:56:37 +00:00
Tim Lai
e538e26314 fix(swagger-ui-react): src filename extension to transpile (#6876) 2021-01-28 11:23:51 -08:00
swagger-bot
b737bec5f1 chore(release): cut the v3.41.0 release 2021-01-28 18:09:09 +00:00
Mahtis Michel
5b2ad68f50 fix(sample-gen): case yaml parsed example is number but string schema (#6872) 2021-01-28 09:04:15 -08:00
Kyle Hoskins
265bdc07b7 feat: add tryItOutEnabled configuration (#6865)
* feat: add tryItOutEnabled configuration

allow users to set tryItOutEnabled: true to display
the "Try it out" section by default

tryItOutEnabled to take === "true" for the
query string value or === true if someone
implements query string type parsing in the query
2021-01-26 09:00:38 -08:00
Mahtis Michel
470e2fed9b feat(sample-gen): yaml sample generation (#6858)
* feat(sample-gen): yaml sample generation

if content / media type matches yaml or yml it will generate stringified sample like for json
in addition to that it will generate yaml out of the json sample

Signed-off-by: mathis-m <mathis.michel@outlook.de>

* test(unit-jest): getSampleSchema should handle yaml
2021-01-25 14:43:52 -08:00
Mahtis Michel
e877580d54 feat(ux): enhance media-type switching experience in RequestBodyEditor (#6837)
* feat(ux): enhance media-type switching experience in RequestBodyEditor

1. When canceling the try-out mode the request body will be reset to its initial state.
2. When the user switches the media-type in the try-out mode, the experience is as follows:
   - If the user did edit the request body the body wont be touched and only media type is updated. This is to ensure that user content is NEVER accidentally overwritten with a default value.
   - If the user did not edit the request body it is safe to be replaced by the default value of the target media-type.

Multiple example needed some care in order to allow the retain example value to function properly

* fix(test): workaround cypress issue that can't be reproduced manually

* test: added new feature to ensure enhanced user editing flow

Signed-off-by: mathis-m <mathis.michel@outlook.de>
2021-01-25 11:16:07 -08:00
Tim Lai
a5eb3dc0c3 fix(buildUrl): relative url is invalid URL (OAS3) or non-url (OAS2) (#6864)
* OAS3: relative url when no servers defined AND specUrl is invalid Url

* OAS2: specUrl is non-url string
2021-01-22 16:55:37 -08:00
Mahtis Michel
cdfb64f711 fix(webpack): assets should not be treaded as esModule (#6861) 2021-01-22 10:20:25 -08:00
Mahtis Michel
eddde95dc4 fix(ux): ensure that optional security schema is rendered without padlock. (#6839) 2021-01-22 10:03:38 -08:00
dependabot[bot]
617a7ceefd chore(deps-dev): bump postcss-loader from 4.1.0 to 4.2.0 2021-01-22 00:21:34 -05:00
dependabot[bot]
ab0cdbf9d9 chore(deps-dev): bump chromedriver from 87.0.5 to 87.0.7 2021-01-20 02:16:12 -05:00
dependabot[bot]
f6737179c8 chore(deps): bump swagger-client from 3.12.1 to 3.12.2 2021-01-20 00:21:16 -05:00
dependabot[bot]
518f7bb09c chore(deps-dev): bump inspectpack from 4.5.2 to 4.6.1 2021-01-20 00:17:09 -05:00
dependabot[bot]
c89c3738bd chore(deps-dev): bump husky from 4.3.7 to 4.3.8 2021-01-18 00:26:30 -05:00
swagger-bot
8264f72af3 chore(release): cut the v3.40.0 release 2021-01-14 20:20:17 +00:00
Mahtis Michel
ddaee4ec42 feat: group / sort parameters by location (#6745) 2021-01-14 11:39:01 -08:00
Mahtis Michel
a2f7917661 fix(sample-gen): should return json literal example (#6827)
* fix(sample-gen): should return json literal example

* test(sample-gen): should return json literal example
2021-01-14 10:59:35 -08:00
Mahtis Michel
7087210adb fix(style): code should should wrap line (#6831)
* fix(style): code should should wrap line

this time in correct place

* revert(#6764): reverted wrongly placed css
2021-01-14 10:11:03 -08:00
dependabot[bot]
9568c901ca chore(deps-dev): bump mini-css-extract-plugin from 1.3.3 to 1.3.4 2021-01-14 00:25:32 -05:00
dependabot[bot]
387d8cb9b3 chore(deps-dev): bump webpack-dev-server from 3.11.1 to 3.11.2 2021-01-14 00:22:30 -05:00
Amir Bitaraf Haghighi
a7ba55ad03 feat(docker): add docker support for persist authorization variable (#6832) 2021-01-13 13:23:44 -08:00
Mahtis Michel
d80cc40dc4 feat(doc): added introduction (#6806)
taken from https://swagger.io/tools/swagger-ui/
2021-01-13 07:08:26 -08:00
dependabot[bot]
e161cb496a chore(deps): bump react-copy-to-clipboard from 5.0.2 to 5.0.3 2021-01-13 00:22:21 -05:00
Ihnat Klimchuk
2f8bfd03f8 feat (auth): support for flow type authorization_code in oauth2-redirect.html (#6750) 2021-01-12 20:02:04 -08:00
Mahtis Michel
59b42bb38f fix(sample-gen): should return xml literal example (#6822) 2021-01-12 19:01:44 -08:00
Mahtis Michel
25433c4864 fix(spec-selector): isMediaTypeSchemaPropertiesEqual should handle case where literal media-types are equal. (#6820)
* fix(spec-selector): isMediaTypeSchemaPropertiesEqual case same

should return true in case of comparing same media types.

* test(spec-selector): isMediaTypeSchemaPropertiesEqual tests
2021-01-12 18:31:51 -08:00
Mahtis Michel
35cb92502a fix(sample-gen): should render additionalProperties in example (#6821)
* fix(sample-gen): should render additionalProperties in example

* test(sample-gen): should return additional property from example
for object and array schemas
2021-01-12 17:55:23 -08:00
dependabot[bot]
99f93a54b7 chore(deps-dev): bump jsdom from 15.2.1 to 16.4.0 (#6807)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 15.2.1 to 16.4.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/15.2.1...16.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 15:32:22 -08:00
dependabot[bot]
e9ced85c52 chore(deps-dev): bump webpack from 4.45.0 to 4.46.0 2021-01-12 00:19:18 -05:00
dependabot[bot]
feccdcc16a chore(deps-dev): bump chromedriver from 87.0.4 to 87.0.5 2021-01-11 00:51:21 -05:00
dependabot[bot]
0d7a8081f5 chore(deps): bump dompurify from 2.2.3 to 2.2.6 2021-01-11 00:48:22 -05:00
dependabot[bot]
d506edcab4 chore(deps-dev): bump webpack from 4.44.2 to 4.45.0 2021-01-11 00:34:31 -05:00
dependabot[bot]
b756685e45 chore(deps-dev): bump babel-plugin-module-resolver from 4.0.0 to 4.1.0 2021-01-11 00:31:12 -05:00
dependabot[bot]
ca874437c5 chore(deps): bump memoizee from 0.4.14 to 0.4.15 2021-01-11 00:25:53 -05:00
dependabot[bot]
570d7b7e07 chore(deps-dev): bump postcss from 8.2.3 to 8.2.4 2021-01-11 00:19:53 -05:00
dependabot[bot]
ab7cefd5f1 chore(deps-dev): bump postcss from 8.2.2 to 8.2.3 2021-01-08 02:29:15 -05:00
dependabot[bot]
03b28c42aa chore(deps-dev): bump webpack-stats-plugin from 1.0.2 to 1.0.3 2021-01-08 00:56:19 -05:00
dependabot[bot]
90f6aff70d chore(deps-dev): bump husky from 4.3.6 to 4.3.7 2021-01-08 00:51:54 -05:00