Mahtis Michel
87ab4e9ac9
fix: response examples should respect media-type ( #6456 )
...
* response sample generation should take content type into consideration for stringify
2020-10-16 13:52:21 -07:00
Lucia Sarni
5065613130
fix(requestBody): hide read only properties ( #6490 )
2020-10-15 11:25:06 -07:00
Lucia Sarni
99fda81ae0
fix: missing commas in response header values #6183 ( #6515 )
2020-10-14 19:37:12 -07:00
Lucia Sarni
aa53ec24b8
fix(filter): avoid filtering by the strings "true/false" when enabled ( #6477 )
2020-10-08 13:52:56 -07:00
ben-smartbear
6ad418d0ab
fix: Updating select to pass in a better prop; updating test to do a better check ( #6385 )
...
fixes #6372
2020-09-10 11:06:46 -07:00
Tim Lai
d4eea4da1b
fix: models view when object key contains deprecated:true ( #6371 )
...
fixes #6369
2020-09-09 16:43:01 -07:00
ben-smartbear
5123b47ef4
fix: Allowing servers dropdown to change when oas3Actions.setSelectedServer is called ( #6358 )
...
ref: #6351
2020-09-08 15:37:48 -07:00
Vladimir
41e595beda
feat: Display nullable for object model itself ( #5660 ) ( #5868 )
2020-06-22 18:01:33 -07:00
Tim Lai
5bbd3e71bd
fix: bugs/4641 use wait on route alias ( #6048 )
2020-06-01 17:14:45 -07:00
Tim Lai
a371ba1ca9
fix: bugs/4641 flaky test ( #6047 )
...
* fix: flaky bugs/4641 test
* fix: apply isFunc check for security.getIn
2020-06-01 14:23:51 -07:00
Tim Lai
68185dd71a
fix: remove special handling of non-FormData entries ( #6036 )
...
Ref: #6033
* 'createObjWithHashedKeys' validation consistency with isFunction
* 'createObjWithHashedKeys' additional jsdoc example
2020-05-28 09:16:21 -07:00
Tim Lai
add5753da4
test: improve reliability of /bugs/4641 ( #6013 )
...
Ref #6001
2020-05-27 15:45:23 -07:00
Tim Lai
3a65070bf5
fix: entries as property name ( #6025 )
2020-05-20 11:54:57 -07:00
Tim Lai
4542806af6
bug: remove clearValidation from onTryoutClick ( #5955 )
2020-05-06 14:07:22 -07:00
Simon Legg
c9d6ac4cfc
improvement: clear auth information from memory when logging out ( #5316 )
...
* clears authentications when logout is clicked
* tests the headers sent in the network request
* adds test for multiple api keys
* refactors tests to extract common uses
* correct test message description
Co-authored-by: kyle shockey <kyleshockey@gmail.com >
2020-01-14 21:20:39 -05:00
kyle
85f2bf3688
fix: <Select disabled> for type: string + enum schemas ( #5601 )
...
* fix: pass `disabled` through JsonSchemaForm – JsonSchema_string – Select
* migrate 5452 regression test
2019-09-10 22:08:03 -07: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
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
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
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