Jamie Peabody
e8266a3c6d
fix: code highlight styles are now only applied pre.microlight ( #5673 )
...
* patch(#5672 ): code highlight styles are now only applied to pre blocks that have the class pre.microlight
* fixed pre style appied to .request-url
* fixed response-headers and request-duration pre blocks
* made pre.microlight class as per review
* added microlight class to appropriate pre and added tests
2019-11-03 20:46:38 -05:00
kyle
75a0e5d5dc
fix(validateParam): validate JSON parameter values + support Parameter.content ( #5657 )
...
* improve(getParameterSchema): ParameterSchemaDescriptor pattern
* chore: update usage of `getParameterSchema`
* consider `Parameter.content` media type when validating JSON values
2019-10-11 11:20:23 -07:00
poveilleux
139592e353
feat: add PKCE support for OAuth2 Authorization Code flows ( #5361 )
...
* Add PKCE support.
* Fix tests
* Update oauth2.md
* Rename usePkce
* Fix the BrokenComponent error
* Update oauth2.md
* Remove isCode variable. Remove uuid4 dependency.
* Remove utils functions
* Import crypto
* Fix tests
* Fix the tests
* Cleanup
* Fix code_challenge generation
* Move code challenge and verifier to utils for mocks. Update tests.
* Mock the PKCE methods in the utils file properly.
* Add missing expect
* use target-method spies
* Add comments to explain test values.
* Get rid of jsrsasign.
2019-10-07 17:24:43 -07:00
kyle
00c8e964e7
fix: accept string-represented values in required array runtime validation ( #5609 )
...
* rename `listCheck` -> `arrayListCheck`
* allow non-empty strings to quality a required array value
2019-09-15 12:17:42 -07: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
f523ec40f0
housekeeping: reorganize and rewire Mocha tests ( #5600 )
...
* move Mocha-run tests to `test/mocha`
* fix relative paths
* fix JSX test paths
* update stagnated JSX tests
* `test/setup.js` -> `test/mocha/setup.js`
* use regex+globstar for test matching
* remove `console.log`
2019-09-10 21:26:21 -07:00