Segev Finer
be72c292ca
feature: add withCredentials configuration key (via #5149 )
...
* Add the withCredentials configuration key
It enables passing credentials in CORS requests. e.g. Cookies and
Authorization headers.
* Improve withCredentials documentation
* Add unit tests for the withCredentials config
* Update configuration.md
* Update configuration.md
* only set `withCredentials` Fetch flag if the config value is truthy
there are some workarounds in the wild today that involve setting `withCredentials` on `system.fn.fetch` directly.
this approach avoids mangling those existing workarounds!
* add more test cases
* Update configs-wrap-actions.js
* Update index.js
2019-03-20 12:36:08 -07:00
Laurence Hudson
38def57c2d
improvement: expose docExpansion as a prop in swagger-ui-react (via #5242 )
...
* improvement: expose docExpansion setting as a prop in swagger-ui-react
* Update README.md
* Update index.js
* Update README.md
* Update README.md
2019-03-19 19:04:34 -07:00
flacki
1a629886d6
housekeeping: fix typo in README (via #5246 )
2019-03-19 11:38:37 -07:00
Glen Schrader
ccf17e90e2
improvement: expose system object in swagger-ui-react's onComplete callback (via #5221 )
...
* expose swagger object so it can be controlled in the onComplete function
* docs: swagger-ui-react onComplete system argument
2019-03-14 19:29:40 -07:00
Brian Johnson
65e8abde55
improvement: support GFM table syntax in OpenAPI 3.0 (via #5224 )
2019-03-14 17:58:02 -07:00
Peter Goldthorp
1497271155
housekeeping: remove react-addons-perf dependency (via #5229 )
...
* Remove react-addons-perf dependency
* update lockfile
* include ReactPerf in non-production builds
2019-03-14 17:36:49 -07:00
Zhang Yi Jiang
c6d1cc9c72
fix: Markdown styling nits and inconsistencies (via #5235 )
...
* bug: fix pre styles for block code
* bug: Fix badge padding
* create Markdown-specific stylesheet
2019-03-14 16:51:49 -07:00
Helen Kosova
80625d0b8a
housekeeping: bump minimum Cypress version (via #5233 )
...
* Update Cypress version
* regenerate package-lock.json
2019-03-12 11:19:28 -07:00
kyle
604c7b420f
fix: generate gzipped Docker assets at runtime (via #5219 )
2019-03-05 15:49:45 -08:00
swaggerhub-bot
b3a555f589
release: v3.21.0
2019-03-02 06:24:24 +00:00
kyle
c901457281
feat(dummy-commit): trigger minor version release (via #5211 )
2019-03-01 22:17:15 -08:00
kyle
cb01304d64
housekeeping: use npmrc auth for React module publishing (via #5210 )
...
* fix: use npmrc auth for React module publishing
* revert removal
2019-03-01 21:47:55 -08:00
swaggerhub-bot
bbaf4f06a3
release: v3.20.10
2019-03-02 05:31:20 +00:00
Yann Odeyer
dd961ed401
improvement(docker): gzip static files (via #5199 )
2019-03-01 21:06:40 -08:00
kyle
7025773fbf
feature: swagger-ui-react module (via #5207 )
...
* swagger-ui-react alpha.0
* alpha.1
* alpha.2
* alpha.3
* begin updating README
* alpha.4
* WIP: `displayOperationId` support
* move loading error readouts to BaseLayout
* add `url` prop
* export React component as default
* add interceptor support
* modify docs markup
* add `onComplete` prop
* add `spec` prop
* Update README.md
* alpha.6
* remove independent manifest; build releasable exclusively from template
* ensure dist is present; drop config field in manifest
* drop alpha field
this script is now able to release to npm!
* remove unused selector references
* Update README.md
2019-03-01 20:41:30 -08:00
kyle
e95588bd1f
improvement: gracefully render malformed and empty requestBodies (via #5208 )
2019-02-28 19:54:21 -08:00
kyle
0990aa82f2
improve: subtree resolver batch handling (via #5193 )
...
* fix: prevent subtree paths from being queued more than once in a batch
* fix: clear subtree resolver errors by current path
* drop `List` import
2019-02-25 14:33:10 -08:00
swaggerhub-bot
080c70ae76
release: v3.20.9
2019-02-24 01:37:48 +00:00
kyle
ff496fa5bd
fix: type safety for operation summary handling (via #5191 )
...
* fix: gracefully handle non-string operation summaries
* use lodash for more summary type safety
2019-02-23 17:00:29 -08:00
kyle
1e184e8e21
fix: sanitize URLs used for OAuth auth flow (via #5190 )
...
* fix: sanitize URLs used for OAuth auth flow
* embetter test case
* fix linter issue
2019-02-23 14:14:30 -08:00
kyle
d9f460f4a8
fix: gracefully handle non-string operation summaries (via #5189 )
2019-02-19 15:41:16 -08:00
swaggerhub-bot
85d82fc0a8
release: v3.20.8
2019-02-16 02:50:26 +00:00
kyle
291e2c7251
improvement: operation path + summary overflow styling (via #5184 )
...
* improvement: operation path + summary overflow styling
* inject zero-width spaces for better path breaking
* migrate 4867 regression test to tolerate new ZWSPs
* rm `dev-helpers/doc.yaml`
2019-02-15 20:05:26 -06:00
dalbrx-forcam
937c8f6208
improvement: set X-Requested-With to prevent browser authentication dialog (via #4934 )
2019-02-14 17:20:06 -06:00
kyle
373da3bee3
fix: provide JSON editor for x-www-form-urlencoded bodies lacking properties (via #5180 )
2019-02-13 18:47:01 -06:00
Helder Sepulveda
3f0c0666ba
housekeeping: bump minimum lodash version (via #5156 )
...
* Update lodash
fix for Regular Expression Denial of Service:
https://snyk.io/vuln/SNYK-JS-LODASH-73639
* update lockfile
2019-02-12 17:29:56 -06:00
swaggerhub-bot
67c1e00d96
release: v3.20.7
2019-02-08 23:27:33 +00:00
kyle
3434312cf7
housekeeping: corresponding changes for swagger-api/swagger-editor#1935 (via #5170 )
...
* `schema` -> `structural`
* drop strip-instance transformer
2019-02-08 17:16:18 -06:00
kyle
d3c2e2777f
fix: coerce multipart initial property values to string (via #5166 )
...
* coerce multipart initial property values to string
* add tests
2019-02-07 15:35:22 -06:00
Drew Freyling
48e4fb937d
housekeeping: losslessly crush PNG images with pingo (via #5158 )
2019-02-06 22:11:04 -06:00
kyle
15cdfe14dd
improvement: generate non-smart Markdown quotes (via #5162 )
2019-02-06 21:48:52 -06:00
kyle
0047ce96a8
fix: don't trigger url remote document load if urls is provided (via #5161 )
...
* fix: don't trigger `url` remote document load if `urls` is provided
* better test block title
2019-02-06 19:32:35 -06:00
kyle
b716ed2515
fix: gracefully handle malformed global tags array in taggedOperations selector (via #5159 )
...
* fix: handle malformed global tags array in taggedOperations
* handle non-array global tags as well
* update test imports
* remove stray brackets
2019-02-05 20:10:18 -06:00
Drew Freyling
52ce2871a2
improvement(docker): smaller images via no-cache option (via #5157 )
...
* add no-cache option for smaller images
* move flag immediately after `apk`
adjusting to be as close to the example as possible: https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md#disabling-cache
2019-02-05 18:06:18 -06:00
swaggerhub-bot
ed8267af89
release: v3.20.6
2019-02-02 06:59:27 +00:00
Segev Finer
dd34393ea2
improvement(docker): avoid caching mounted json/yml/yaml assets (via #5151 )
2019-02-02 00:14:48 -06:00
Glen Schrader
455ec3d377
housekeeping: add React compatibility issue to readme (via #5141 )
...
* add React compatibility issue
* Update README.md
2019-01-30 17:07:34 -06:00
kyle
abf34961e9
bug: parameter allowEmptyValue + required interactions (via #5142 )
...
* add failing tests
* standardize parameter keying
* validateParam test migrations
* migrate test cases to new pattern
* disambiguate name/in ordering in `body.body` test cases
* `name+in`=> `{in}.{name}`
* consider allowEmptyValue parameter inclusion in runtime validation
* use config object for all validateParam options
* drop isXml flag from validateParams
2019-01-29 16:46:03 -06:00
Helder Sepulveda
be3500c299
housekeeping: address url-parse vulnerability (via #5130 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:url-parse:20180731
2019-01-18 18:43:55 -08:00
Ullrich Schäfer
615f0bf724
housekeeping(docs): typo in oauth2.md (via #5124 )
...
no PR too small!
2019-01-15 18:14:20 -06:00
swaggerhub-bot
f69624bbed
release: v3.20.5
2019-01-12 07:08:55 +00:00
kyle
315819b2c9
fix: non-typesafe spec selector (via #5121 )
...
* add failing tests
* fix things
2019-01-12 00:58:20 -06:00
John Hart
babcfb6b39
improvement: support Markdown in header descriptions (via #5120 )
...
* Added markdown for header descriptions as per specifications:
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#header-object
which subclasses:
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#parameterObject
https://swagger.io/specification/#headerObject
which subclasses
https://swagger.io/specification/#parameterObject
* update headers.jsx
* Update headers.jsx
Fixing test error due to the `description` variable having been removed
* Update headers.jsx
2019-01-11 18:24:21 -06:00
mirabilos
669ec1c081
improvement: add individual CSS classes to info items (via #5051 )
...
This makes it easier to style them individually or retrieve the
elements in user scripts.
2019-01-11 10:12:18 -06:00
kyle
b714810bfe
housekeeping: indicate index.html usage of deepLinking flag (via #5118 )
2019-01-10 16:52:47 -06:00
Nurbol Makashov
e90fe9cfd7
improvement: show description fields in form-data request bodies (via #5073 )
2019-01-10 16:23:40 -06:00
Jun Kuriyama
45e7f44ee3
improvement: render request body description as Markdown (via #5078 )
2019-01-10 16:06:40 -06:00
kyle
1e8e0dba30
fix: tag-level deep link escaping inconsistencies (via #5117 )
...
* add test cases
* update tag deeplinking implementation
* MOAR test updates
* update operation-tag.jsx
2019-01-10 15:58:37 -06:00
kyle
2db63e2c08
fix: Immutable property access pattern (via #5112 )
2019-01-07 13:40:17 -06:00
kyle
3691d2b5dd
fix: only apply instance-strip transformer to schema errors (via #5110 )
2019-01-07 01:15:11 -06:00