Commit Graph

3965 Commits

Author SHA1 Message Date
kyle
2669b26dcb housekeeping: update model wrapper selector in Selenium tests (via #5064) 2018-12-07 16:01:50 +01:00
dersvenhesse
8bdf2933d5 improve: showing showing server description in dropdown (via #5015)
* Showing server description in dropdown

* Slight syntax improvements

* use template strings and ` - `
2018-11-26 23:18:57 +01:00
swaggerhub-bot
b8a677ba27 release: v3.20.1 2018-11-24 01:51:23 +00:00
Kristofer Wright
a40edea3f1 fix: only append type flag to curl if type is defined (via #5041)
* issue 5040: only append type to formData file if defined

* errant whitespace removal:

* conform to code style

* code style

* use template string in nested type ternary operator
2018-11-24 00:22:42 +01:00
Sullivan SENECHAL
88e2c9af54 fix: apply css only on first child label and span for section header (via #4970) 2018-11-24 00:16:49 +01:00
kyle
971c6f7536 fix: path-item $ref produces/consumes inheritance (via #5049)
* implement a selector for consumes options

* fix incorrect comment, test names

* add `consumesOptionsFor` selector

* use `consumesOptionsFor` and drop `operationConsumes`
2018-11-23 23:24:11 +01:00
João Abecasis
2977c93840 improvement: hide Servers/Schemes/Authorize section when it's empty (via #4950) 2018-11-21 03:06:26 +01:00
swaggerhub-bot
db9e24541f release: v3.20.0 2018-11-17 01:13:28 +00:00
kyle
074eaa5d51 fix: prevent object inheritance mutations in recursive sampleXmlFromSchema calls (via #5034)
* fix: prevent object inheritance mutations in recursive sampleXmlFromSchema calls

* fix unrelated test
2018-11-16 21:02:23 +01:00
Helen Kosova
89868a85bb feat: sample value generation for uuid, hostname, ipv4, & ipv6 formats (via #5033) 2018-11-16 13:22:42 +01:00
Jeremy Hayes
078bca3566 feat: sample value generation for date formats (via #5024) 2018-11-16 00:49:23 +01:00
Steven Aerts
0fd35603e6 fix: resolve referenced securitySchemes (via #5028) 2018-11-16 00:21:01 +01:00
Max Lyashuk
354c30c659 docs(installation): fix link to configuration.md (via #5009) 2018-11-12 15:32:24 +01:00
Jennifer Kaplan
aec4e378ce housekeeping: remove Topbar CWM & unneeded empty lines (via #5018)
* removed componentWillMount and removed unneeded empty lines

* saved file again
2018-11-12 14:28:28 +01:00
kyle
ad786b023f housekeeping: .js -> .jsx file extensions (via #5014)
* housekeeping: `.js` -> `.jsx` where necessary
2018-11-08 16:37:21 +00:00
kyle
59bd9f4988 improve(docker): bail out + provide helpful error if injection fails (via #5007)
* add `onFound` callback to schemas

* add warning to method docs (for #4957)

* implement Docker OAuth2 init block support

* update docs

* add OAUTH_SCOPE_SEPARATOR

* drop OAuth env from Dockerfile and run script

* don't indent the first oauth block line

* drop unused `dedent` import

* touch up warning message

* add more test cases

* return an empty block if no OAuth content is generated

* fix broken doc line

* allow legacy values to override base values

* TEMPORARY (DROP THIS): use legacy HTML from Petstore

* improve(docker): bail out + provide helpful error if injection fails

* Revert "TEMPORARY (DROP THIS): use legacy HTML from Petstore"

This reverts commit 10c18c333262c5411197d9bb085c6b95305beb19.
2018-11-06 02:34:44 +00:00
kyle
02758b8125 bugfix: legacy Docker variables being overridden by default values (via #5006)
* add `onFound` callback to schemas

* add warning to method docs (for #4957)

* implement Docker OAuth2 init block support

* update docs

* add OAUTH_SCOPE_SEPARATOR

* drop OAuth env from Dockerfile and run script

* don't indent the first oauth block line

* drop unused `dedent` import

* touch up warning message

* add more test cases

* return an empty block if no OAuth content is generated

* fix broken doc line

* allow legacy values to override base values
2018-11-06 01:57:20 +00:00
swaggerhub-bot
30f3f10bf5 release: v3.19.5 2018-11-05 05:26:25 +00:00
kyle
c6eb8edb5f feature: Docker OAuth block support (via #4987)
* add `onFound` callback to schemas
* add warning to method docs (for #4957)
* implement Docker OAuth2 init block support
* update docs
* add OAUTH_SCOPE_SEPARATOR
* drop OAuth env from Dockerfile and run script
* don't indent the first oauth block line
* drop unused `dedent` import
* touch up warning message
* add more test cases
* return an empty block if no OAuth content is generated
* fix broken doc line
2018-11-01 18:52:13 -04:00
kyle
31a8b13777 feature: full-spectrum runtime Docker configuration (via #4965)
* reorganize docker things

* Configurator WIP

* implement Docker runtime config generator

* add tests

* update documentation

* fix Markdown tables

* Move Docker section

* add note to README

* move up `nodejs` install for more aggressive caching

* drop exclusive test

* fix missing `DISPLAY_OPERATION_ID`
2018-11-01 14:53:29 -04:00
kyle
b9300211bb housekeeping: xml -> @kyleshockey/xml (via #4985) 2018-11-01 14:33:05 -04:00
kyle
1bdcde7b0e fix(packaging): move webpack-dev-server to devDependencies (via #4984) 2018-10-30 23:16:00 -04:00
swaggerhub-bot
9a9b63634f release: v3.19.4 2018-10-20 04:48:22 +00:00
kyle
3df9fad68a improve: deeplinking behavior (#4960)
* add passing tests for fragment rewriting

* add failing fragment retention tests

* fire legacy `show` actions before standard ones

* skip failing tests

* remove extra line
2018-10-19 17:33:30 -05:00
Andrey Torsunov
505d056c71 improve: add support of RFC5987 Content-Disposition formats (via #4952)
* Add support of RFC5987 for Content-Disposition

For example, `attachement; filename*=UTF-8'ru'%D1%81%D0%B2%D0%B5%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F.xlsx` in result will be  `сведения.xlsx`.

* Test of support of RFC5987 in Content-Disposition
2018-10-19 11:42:37 -05:00
kyle
9a4dd00803 housekeeping: deduplicate deep linking test cases (via #4958)
* deduplicate deep linking test cases

* clean up tests and base cases
2018-10-18 18:52:39 -05:00
James ZHANG
1791759de5 improve(deeplink): support utf16 tags and IDs (via #4921)
* ref #3958, support utf16 fragments on the deeplink plugin
* put -> head for UTF16 operation
this is a temporary fix, eventually we will run out
of methods and need to use a new targeting strategy
* drop obsolete %20 decoder
* add full test suite for UTF16 operation
* use encodeURIComponent when setting hash
* drop obsolete test cases
2018-10-18 16:55:30 -05:00
kyle
3c3b7e0bf1 bug(deeplinking): escaping breaks whitespaces & underscored tags/ids (via #4953)
* add tests for operation lacking an operationId
* add deep linking tests for tags/operationIds with underscores
* migrate from `_` to `%20` for deeplink hash whitespace escaping
* add backwards compatibility for `_` whitespace escaping
* update util unit tests
2018-10-16 18:51:29 -05:00
swaggerhub-bot
94b1355700 release: v3.19.3 2018-10-08 19:42:49 +00:00
kyle
ecfc23972a fix: inconsistent behavior with multiple invocations of SwaggerUI (via #4923)
* add narrow e2e tests
* add failing system unit test
* break plugin object inheritance in combinePlugins
* style: add braces to if block
* drop unused `lodash.repeat` import
* remove deep-freeze from lockfile
2018-10-04 18:00:38 -05:00
swaggerhub-bot
c949483dac release: v3.19.2 2018-10-02 01:39:39 +00:00
kyle
004f107ec4 fix: repair schemes servers rendering (via #4913)
* create AuthorizeBtnContainer

* remove Servers and AuthorizeBtn from Schemes' concern

* add AuthorizeBtnContainer to base

* strengthen OAS3 definitionsToAuthorize

* drop obsolete tests

* linter fixes
2018-10-01 20:27:52 -05:00
swaggerhub-bot
15d5df0875 release: v3.19.1 2018-09-29 01:58:23 +00:00
Scott O'Hara
054d450a45 fix: add client_id and client_secret to form when type is request-body (via #4213) 2018-09-28 20:40:38 -05:00
kyle
c5c4e08368 improve: nest Servers within Schemes container (via #4911)
* improve: nest Servers within Schemes container

* linter fixes
2018-09-28 20:33:06 -05:00
kyle
1690b319af improve: multipart + formencoded rendering (via #4910) 2018-09-28 19:26:47 -05:00
kyle
33b351d640 housekeeping: delete .travis.yml (via #4888) 2018-09-20 17:51:26 -07:00
kyle
8062a9eca0 housekeeping: drop v from GitHub Release titles (via #4882) 2018-09-14 23:02:38 -07:00
swaggerhub-bot
6f43bf11e9 release: v3.19.0 2018-09-15 05:49:16 +00:00
k.bigwheel
13341658f9 housekeeping: test fixture file path mistake (via #4862) 2018-09-14 22:23:25 -07:00
Matthew O'Connor
7fff56cc29 fix(docker): make shell script executable (via #4876) 2018-09-14 22:07:23 -07:00
Chris McKnight
6ab3b73d61 feat(docker): allow configUrl to be used in Docker (via #4881)
Closes #4861
2018-09-14 22:00:24 -07:00
kyle
53fe60a96a housekeeping(autorelease): bump swagger-client when releasing (via #4877)
* housekeeping(autorelease): bump `swagger-client` when releasing
* Update .release-it.json
2018-09-13 17:27:43 -07:00
kyle
6bf651f5d7 housekeeping: automated releases via release-it (via #4875)
* add `release-it`

* `swagger-ui-testing`

* add automated-release npm script

* tweak GIT_TAG behavior and test command

* disable Cypress video recording

* Revert "`swagger-ui-testing`"

This reverts commit c3de2ec70d10d1dc5d08513f940df0d036508b2c.
2018-09-13 15:09:26 -07:00
kyle
8fb0cfd2bb fix: tolerate callback parameter values in ParameterRow (via #4873)
* fix: tolerate callback parameter values in ParameterRow
* Update 4867.js
2018-09-12 20:56:23 -07:00
kyle
e28c502a22 fix: safeguard Models from non-object schema content (via #4868) 2018-09-11 18:22:22 -07:00
kyle
1c52a9c77b release: 3.18.3 (via #4860)
* release: 3.18.3
* Update package-lock.json
2018-09-07 21:06:27 -07:00
kyle
54276c95e2 fix: gracefully handle empty request bodies (via #4859) 2018-09-07 16:18:13 -07:00
kyle
eb6c43405f fix: resolved model data invalidation (via #4858) 2018-09-07 14:13:43 -07:00
Andreas Lind
f1224e5196 fix: remove remaining reference to Titillium webfont (via #4840)
Follow up to #4598
2018-09-06 14:18:51 -07:00