Mahtis Michel
ba74c02951
feat(docs): sample datepicker plugin with json schema components ( #6939 )
...
* Document JSON schema components, its mappings and give example how to create a date picker for type: string format: date and format: date-time.
2021-02-16 16:39:26 -08:00
Mahtis Michel
0e6dc0487c
feat(models): collapsed schema content should be clickable ( #6942 )
2021-02-16 16:02:55 -08:00
dependabot[bot]
1082aba7bb
chore(deps-dev): bump mini-css-extract-plugin from 1.3.6 to 1.3.7
2021-02-16 00:27:43 -05:00
dependabot[bot]
11157d8bd6
chore(deps-dev): bump open from 7.4.0 to 7.4.1
2021-02-15 00:29:22 -05:00
dependabot[bot]
a0584119cc
chore(deps-dev): bump @babel/cli from 7.12.13 to 7.12.16
2021-02-12 02:48:26 -05:00
dependabot[bot]
fb7af2d07a
chore(deps-dev): bump @babel/core from 7.12.13 to 7.12.16
2021-02-12 02:30:28 -05:00
dependabot[bot]
429283d2e1
chore(deps-dev): bump @babel/preset-env from 7.12.13 to 7.12.16
2021-02-12 00:54:04 -05:00
dependabot[bot]
b76dd90360
chore(deps-dev): bump mocha from 8.2.1 to 8.3.0
2021-02-12 00:33:10 -05:00
dependabot[bot]
bbaa4c054a
chore(deps-dev): bump @babel/plugin-proposal-optional-chaining from 7.12.13 to 7.12.16
2021-02-12 00:28:51 -05:00
swagger-bot
973e4614f8
chore(release): cut the v3.43.0 release
2021-02-11 18:53:24 +00:00
Mahtis Michel
a2a561e943
feat: validate nullable ( #6928 )
2021-02-11 10:18:13 -08:00
Mahtis Michel
7ead9baa80
* fix(sample-gen): enum without type should be handled by sample-gen ( #6912 )
2021-02-11 09:58:28 -08:00
Mahtis Michel
fad81f8cb9
feat: use example gen for multiple example value retainer examples ( #6920 )
...
* fix: multiple examples with same value jumps to first example
2021-02-11 09:33:04 -08:00
dependabot[bot]
649be5d78b
chore(deps-dev): bump postcss from 8.2.5 to 8.2.6
2021-02-11 00:23:04 -05:00
Chad Killingsworth
5e69d3c4f2
fix: support OAuth2 PKCE when using the OIDC authorization_code flow ( #6914 )
...
* Previous checks only supported the OAuth2 authorizationCode flow and missed the equivalent OIDC flow.
2021-02-10 09:52:35 -08:00
dependabot[bot]
710b9d16a3
chore(deps-dev): bump mini-css-extract-plugin from 1.3.4 to 1.3.6
2021-02-09 00:32:34 -05:00
dependabot[bot]
1df258993b
chore(deps-dev): bump css-loader from 5.0.1 to 5.0.2
2021-02-09 00:25:04 -05:00
dependabot[bot]
b61c9f727d
chore(deps-dev): bump postcss from 8.2.4 to 8.2.5
2021-02-08 00:37:20 -05:00
dependabot[bot]
7eb803af62
chore(deps-dev): bump lint-staged from 10.5.3 to 10.5.4
2021-02-08 00:34:58 -05:00
dependabot[bot]
51ae2c3762
chore(deps-dev): bump sass-loader from 7.1.0 to 7.3.1
2021-02-08 00:25:41 -05:00
dependabot[bot]
adfafc1f0d
chore(deps-dev): bump @babel/plugin-transform-runtime from 7.12.13 to 7.12.15
2021-02-05 00:19:16 -05:00
swagger-bot
2a3afb8440
chore(release): cut the v3.42.0 release
2021-02-04 18:21:00 +00:00
Nicolas
13fea13397
fix(responseBody): json response highlighting ( #6871 )
...
Refs #6508
* Add language prop to HighlightCode component
* Use language prop for JSON HighlightCode responses in response-body.jsx
2021-02-03 12:56:29 -08:00
Mahtis Michel
5c4dfc2da8
feat: enhance parameter validation ( #6878 )
...
* feat: support min/max items validation
* feat: validate array deep and unique items
* feat: validate object deep
2021-02-03 12:29:59 -08:00
Mahtis Michel
8ed6c34958
feat: sample-gen mulit and form media-type ( #6874 )
...
* application/x-www-form-urlencoded || **multipart/** initial value should rely on sample gen
2021-02-03 12:04:12 -08:00
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