Commit Graph

4104 Commits

Author SHA1 Message Date
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
kyle
5052f37909 housekeeping: fix typo in configuration anchor name (via #5109) 2019-01-05 00:57:54 -06:00
kyle
cefa210816 housekeeping: happy new year! (via #5102)
* Update LICENSE

* Update README.md
2019-01-01 17:10:40 -06:00
swaggerhub-bot
738bddcf25 release: v3.20.4 2018-12-22 16:13:20 +00:00
kyle
655ef9e662 fix: urls.primaryName functionality regression (via #5097)
* add tests

* compute index before triggering URL load

* bonus: improve urls topbar label
2018-12-21 23:51:58 -06:00
kyle
69b362aded housekeeping: change test name + comment (via #5091) 2018-12-19 20:52:28 +01:00
Ron
a904786524 Update README.md 2018-12-14 20:53:26 -07:00
swaggerhub-bot
441437d3ca release: v3.20.3 2018-12-15 03:04:15 +00:00
kyle
61b5ed79a0 improvement: generate default oauth2RedirectUrl based on page location (via #5085) 2018-12-14 19:54:53 -07:00
kyle
9658aca08e housekeeping: branding updates (via #5084)
* new favicons

* lockfile

* update logo

* styling changes

* remove url-loader 10K limit
2018-12-14 18:52:54 -07:00
kyle
f5e179ac39 improvement: add Schema/Model switching to ModelExample component (via #5080) 2018-12-13 21:28:01 +01:00
kyle
2ecbdc73c1 housekeeping: test master branch builder trigger (via #5076) 2018-12-12 17:02:20 +01:00
swaggerhub-bot
8512e742e7 release: v3.20.2 2018-12-07 19:57:38 +00:00
kyle
a5568f9e16 improve: OAuth2 UI and test suite (via #5066)
* create `features` folder

* add base oauth2 server

* continue implementing OAuth tests

* WIP

* add password flow tests

* modify Password flow credential types

* remove query string credential type

* add test case for Authorization flow

* add specific Authorization value for Password flow test

* WIP

* fix linter issues
2018-12-07 20:54:29 +01:00
kyle
91b1becc65 fix: label models section as Schemas in OpenAPI 3 (via #5065)
* fix: label models section `Schemas` in OpenAPI 3

* Update swos-63.js
2018-12-07 20:29:35 +01:00
kyle
b84a0fea04 fix: fall back to default configuration options in subtree resolver calls (via #5063) 2018-12-07 16:04:33 +01:00
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