Commit Graph

4472 Commits

Author SHA1 Message Date
swaggerhub-bot
7b737f607f release: v3.23.7 2019-09-01 01:02:50 +00:00
kyle
c9c3b2338e feature: support for Parameter.content (#5571)
* add `getParameterSchema` OAS helper

* use `Parameter.content.[firstKey].schema` as schema value when present

* `newValue` -> `initialValue`

* make `paramWithMeta` a const

* add trailing comma to `swagger2SchemaKeys`

* refactor `helpers` to a folder

* deprecate `src/core/utils.js` in favor of `src/core/helpers/`

* support `Parameter.content.[mediaType].schema` in validateParam

* reject `null` as an OAS3 object value

* expose Fetch errors in the browser console

* generate ParameterRow default values based on `content` values

* add tests for `getParameterSchema`

* remove debugger statement

* remove debugger statement

* don't apply `generatedSampleValue`s to parameters with `examples`

* remove extra semi

* disable JSON check in parameter runtime validation

* stringify JsonSchema_object textarea values

* add Cypress tests

* swagger-client@3.9.4
2019-08-31 16:37:43 -07:00
Renovate Bot
24c6473990 housekeeping(dev-deps): babel-plugin-transform-react-remove-prop-types@0.4.24 2019-08-27 04:32:03 +00:00
Helen Kosova
43db164a91 docs: clarify that preauthorizeApiKey works for OAS3 Bearer auth too (via #5566) 2019-08-26 16:09:05 -07:00
swaggerhub-bot
5e454feb33 release: v3.23.6 2019-08-24 02:30:24 +00:00
renovate[bot]
eaa9e10d5a housekeeping(dev-deps): webpack@4.39.2 (via #5562) 2019-08-23 18:57:30 -07:00
Renovate Bot
a6d672134a housekeeping(dev-deps): webpack-dev-server@3.8.0 2019-08-24 01:30:44 +00:00
Renovate Bot
d2c0d0d11e housekeeping(dev-deps): webpack-cli@3.3.7 2019-08-23 23:47:47 +00:00
Renovate Bot
afe726c319 housekeeping(dev-deps): source-map-support@0.5.13 2019-08-23 22:42:11 +00:00
Renovate Bot
a5595600b0 housekeeping(dev-deps): selenium-server-standalone-jar@3.141.59 2019-08-23 21:36:56 +00:00
Renovate Bot
aee1555f96 housekeeping(dev-deps): sass-loader@7.3.1 2019-08-23 20:41:02 +00:00
Renovate Bot
e88b959a22 housekeeping(dev-deps): rimraf@2.7.1 2019-08-23 19:30:00 +00:00
Renovate Bot
71c1cb300c housekeeping(dev-deps): release-it@12.3.5 2019-08-23 17:51:55 +00:00
Renovate Bot
0241599e28 housekeeping(dev-deps): nightwatch@1.2.1 2019-08-23 14:38:32 +00:00
Renovate Bot
658d3112cc housekeeping(dev-deps): mocha@5.2.0 2019-08-23 13:26:34 +00:00
Renovate Bot
8f402f9319 housekeeping(dev-deps): mini-css-extract-plugin@^0.8.0 2019-08-23 12:32:47 +00:00
Renovate Bot
4f6e604b82 housekeeping(dev-deps): less@3.10.3 2019-08-23 11:36:39 +00:00
Renovate Bot
8d182d5670 housekeeping(dev-deps): jsdom@11.12.0 2019-08-23 10:35:47 +00:00
Renovate Bot
c979504744 housekeeping(dev-deps): file-loader@4.2.0 2019-08-23 09:31:42 +00:00
Renovate Bot
c74f3bb920 housekeeping(dev-deps): deepmerge@2.2.1 2019-08-23 08:34:56 +00:00
Renovate Bot
b28a27530d housekeeping(dev-deps): css-loader@3.2.0 2019-08-23 07:42:17 +00:00
Renovate Bot
891223a209 housekeeping(dev-deps): chromedriver@2.46.0 2019-08-23 06:29:19 +00:00
renovate[bot]
4dc69566de housekeeping(dev-deps): autoprefixer@8.6.5 (via #5486) 2019-08-22 22:39:39 -07:00
kyle
9c0a8a25a8 housekeeping: automerge non-major devDep updates (via #5547) 2019-08-22 22:23:39 -07:00
renovate[bot]
408e6092f9 housekeeping(deps): update nginx docker tag to v1.17 (via #5485) 2019-08-22 22:11:37 -07:00
kyle
156cc0ae16 housekeeping: MOAR badges (via #5494)
* MOAR badges

* Update README.md

* Update README.md

* Update README.md
2019-08-22 21:54:37 -07:00
silverwind
f5a3d8854d fix: React warning related to "true" used as boolean (via #5497)
This should fix this warning seen in the console when using `swagger-ui-react`:

```
Warning: Received the string `true` for the boolean attribute `readOnly`. Although this works, it will not work as expected if you pass the string "false". Did you mean readOnly={true}?
    in textarea (created by Curl)
    in div (created by Curl)
    in div (created by Curl)
    in Curl (created by LiveResponse)
    in div (created by LiveResponse)
    in LiveResponse (created by Responses)
```

I did not test this change because it's trivial and there is no behavioural change here, React treats non-empty string attributes as `true`.
2019-08-22 21:27:58 -07:00
thierrydallacroce
0b3489b52d fix: remove .col class that causes collision with Bootstrap (via #5541)
* improvement: address Bootstrap conflict by removing our .col class (#4574)

* use `.parameters-col_description` selector in Cypress tests
2019-08-20 19:51:45 -07:00
renovate[bot]
1793df64e8 housekeeping(deps): redux-immutable@3.1.0 (via #5484) 2019-08-20 15:52:53 -07:00
kyle
098cfac7e8 housekeeping: copy Jenkins release flags to .release-it.json (via #5529) 2019-08-13 18:08:32 -07:00
swaggerhub-bot
ac5a1c0718 release: v3.23.5 2019-08-10 08:29:11 +00:00
kyle
c27a613647 fix: remove problematic Markdown optimization (via #5520) 2019-08-06 21:17:16 -07:00
Ryan Stephen
1b0efbeb16 Grammar syntax correction (#5512)
Tense correction and clarity on line 44.
2019-08-06 16:50:45 -06:00
swaggerhub-bot
551007fe47 release: v3.23.4 2019-08-03 06:49:45 +00:00
kyle
877ee38ba1 housekeeping: non-breaking dependency updates (via #5515)
* non-breaking dependency updates

* eslint updates
2019-08-01 19:06:03 -07:00
kyle
c2058b9127 housekeeping: create .github/SECURITY.md (via #5514) 2019-08-01 17:31:25 -07:00
kyle
2af696dcc1 housekeeping: @kyleshockey/js-yaml -> js-yaml (via #5511)
* `@kyleshockey/js-yaml` -> `js-yaml`

* externalize `esprima`
2019-07-31 14:45:18 -07:00
kyle
97260cf0e2 housekeeping: more npm audit resolutions (via #5509)
* move `@babel/runtime-corejs2` to production dependencies

* `npm audit fix`
2019-07-30 15:37:02 -07:00
renovate[bot]
5346512602 housekeeping(dev-deps): babel monorepo@7.5.5 (via #5487)
* housekeeping(dev-deps): babel monorepo@7.5.5

* Update renovate.json
2019-07-30 14:40:29 -07:00
swaggerhub-bot
fb47aa27d7 release: v3.23.3 2019-07-30 18:26:20 +00:00
kyle
4cab9e40fd fix: move @babel/runtime-corejs2 to production dependencies (via #5508) 2019-07-30 13:12:34 -05:00
swaggerhub-bot
7c1f9cee34 release: v3.23.2 2019-07-30 03:33:17 +00:00
kyle
39f8ceba55 fix: empty ModelExample rendering in a Response w/o content (via #5504)
* add failing test

* use falsy notSetValue for oas3SchemaForContentType
2019-07-29 22:15:19 -05:00
kyle
e895fb544f fix: use null as a notSetValue for examplesForMediaType (via #5503)
* fix: use null as a notSetValue for examplesForMediaType

fixes #5455

* tests!
2019-07-29 21:44:14 -05:00
Jonathan Parrilla
f53e611071 Merge pull request #5476 from ctron/feature/non_root_1
Allow this to run in a non-root enviroment
2019-07-29 19:07:10 +01:00
Jens Reimann
e435122e5e Allow this to run in a non-root enviroment 2019-07-23 11:37:59 +02:00
renovate[bot]
09e24e4303 housekeeping(deps): deep-extend@0.6.0 (via #5483) 2019-07-19 17:59:58 -05:00
renovate[bot]
f73260bc5f housekeeping: configure Renovate (via #5481)
* chore(deps): add renovate.json

* Update renovate.json

* Update renovate.json

* Update renovate.json

* Update renovate.json

* Update renovate.json

* Update renovate.json

* Update renovate.json

* Update renovate.json

* Update renovate.json

* Update renovate.json

* Update renovate.json

* Update renovate.json
2019-07-19 12:48:11 -05:00
Helen Kosova
8822a7229a Change Swagger-UI -> Swagger UI in docs (#5479)
* Change Swagger-UI -> Swagger UI in docs

* Changed back to SwaggerUI in places that refer to JS construct
2019-07-19 09:22:45 -06:00
kyle
be5e057bfa housekeeping: npm audit resolutions (via #5457)
* add `security-audit` script

* npm audit fix

* remove nyc

* nightwatch@1

this breaks the test suite, but it appears to have already regressed. leaving it for another day, TODO: open a backlog ticket

* add `security-audit` script

* disable mocha exclusivity

* update package-lock.json

* cypress@3.4.0

* `npm audit fix`

* @release-it/conventional-changelog@1.1.0

* release-it@12
2019-07-18 22:02:24 -05:00