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
kyle
a9493a27be
fix: Swagger 2.0 Response.examples, again (via #5465 )
...
* fix: Swagger 2.0 `Response.examples`
* stringify results
2019-07-13 01:01:57 -05:00
kyle
9749a47853
fix: Swagger 2.0 Response.examples (via #5464 )
2019-07-13 00:25:43 -05:00
kyle
eaa1f4a8b4
bug: enum Select crashes when selecting the empty value (via #5463 )
...
* add failing tests
* fix property access
* @babel/plugin-proposal-optional-chaining
2019-07-12 23:05:00 -05: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
d9f460f4a8
fix: gracefully handle non-string operation summaries (via #5189 )
2019-02-19 15:41:16 -08: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
kyle
373da3bee3
fix: provide JSON editor for x-www-form-urlencoded bodies lacking properties (via #5180 )
2019-02-13 18:47:01 -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
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
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
kyle
f5e179ac39
improvement: add Schema/Model switching to ModelExample component (via #5080 )
2018-12-13 21:28:01 +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
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
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
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
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