- 11 6月, 2020 2 次提交
-
-
由 tomdegoede 提交于
* fix: convert propStyle to propClass
-
由 Wesley Schwengle 提交于
* disabled on string values: "127.0.0.1", "localhost", "none"
-
- 30 5月, 2020 1 次提交
-
-
由 abcang 提交于
-
- 29 5月, 2020 1 次提交
-
-
由 Tim Lai 提交于
Ref: #6033 * 'createObjWithHashedKeys' validation consistency with isFunction * 'createObjWithHashedKeys' additional jsdoc example
-
- 21 5月, 2020 1 次提交
-
-
由 Tim Lai 提交于
-
- 14 5月, 2020 1 次提交
-
-
由 Tim Lai 提交于
ft: utils.createObjWithHashedKeys ft: curlify.extractKey test: curlify with array representation
-
- 12 10月, 2019 2 次提交
- 08 10月, 2019 1 次提交
-
-
由 poveilleux 提交于
* 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.
-
- 16 9月, 2019 1 次提交
-
-
由 kyle 提交于
* rename `listCheck` -> `arrayListCheck` * allow non-empty strings to quality a required array value
-
- 03 9月, 2019 1 次提交
-
-
由 kyle 提交于
-
- 01 9月, 2019 1 次提交
-
-
由 kyle 提交于
* 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
-
- 30 6月, 2019 1 次提交
-
-
由 kyle 提交于
* add opt-in Prettier config * remove legacy `examples` implementation * create ExamplesSelect * support `Response.examples` in OpenAPI 3 * create response controls group * prettier reformat * prepare to break up Parameters * reunify Parameters and OAS3 Parameters * Parameter Examples * Example component * handle parameter value stringification correctly * FOR REVIEW: add prop for controlling Select * use regular header for param examples in Try-It-Out * manage active examples member via Redux * Request Body Try-It-Out examples * remove special Response description styling * omit Example value display in Try-It-Out * support disabled text inputs in JsonSchemaForm * Example.omitValue => Example.showValue * ExamplesSelectValueRetainer * styling for disabled inputs * remove console.log * support "Modified Values" in ExamplesSelect * remove Examples component (wasn't used anywhere) * use ParameterRow.getParamKey for active examples member keying * split-rendering of examples in ParameterRow * send disabled prop to JsonSchemaForm * use content type to key request body active examples members * remove debugger * rewire RequestBodyEditor to be a controlled component REVIEW: does this have perf implications? * trigger synthetic onSelect events in ExamplesSelect * prettier updates * remove outdated Examples usage in RequestBody * don't handle examples changes in ESVR * make RequestBodyEditor semi-controlled * don't default to an empty Map for request bodies * add namespaceKey to ESVR for state mgmt * don't key RequestBody activeExampleKeys on media type * tweak ESVR isModifiedValueSelected calculation * add trace class to ExamplesSelect * remove usage of ESVR.currentNamespace * reset to first example if currentExampleKey is invalid * add default values to RequestBody rendering * stringify things in ESVR * avoid null select value (silences React warning) * detect user inputs that match any examples member's value * add trace class for json-schema-array * shallowly convert namespace state, to preserve Immutable stucts in state * stringify RBE values; don't trim JSON in editor * match user input to an example when non-primitives are expressed in state as strings * update Cypress * don't apply sample values in JsonSchema_Object * support disabling all JsonSchemaForm subcomponents * Core tests * style changes to accomodate Examples * fix version-checking error in Response * disable SCU for Responses * don't stringify Select values * ModelExample: default to Model tab if no example is available; provide a default no example message * don't trim JSON ParamBody inputs * read directly from 2.0 Response.schema instead of inferring a value * show current Example information in RequestBody * show label for Examples dropdown by default * rework Response content ordering * style disabled textareas like other read-only blocks * meta: fix sourcemaps * refactor ESVR setNameForNamespace * protect second half of ternary expession * cypress: `select.examples-select` => `.examples-select > select` * clarify ModelExample.componentWillReceiveProps * add gates/defaults to prevent issues in very bare-boned documents * fix test block organization problem * simplify RequestBodyEditor interface * linter fixes * prettier updates * use plugin system for new components * move ME Cypress helpers to other file
-
- 10 4月, 2019 1 次提交
-
-
由 Alan Wessman 提交于
The original message gave no clues as to the underlying cause, which is that the element name needs to be specified explicitly (using xml/name) if it can't be determined from a $ref.
-
- 30 1月, 2019 1 次提交
-
-
由 kyle 提交于
* 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
-
- 20 10月, 2018 1 次提交
-
-
由 Andrey Torsunov 提交于
* 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
-
- 17 10月, 2018 1 次提交
-
-
由 kyle 提交于
* 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
-
- 27 7月, 2018 1 次提交
-
-
由 kyle 提交于
* add failing tests * coerce initial values to string * only convert numbers to strings when setting parameter values
-
- 14 7月, 2018 1 次提交
-
-
由 kyle 提交于
* add tests for example feature * refactor ParameterRow value setter logic * aside: fix property access in sampleFromSchema * prioritize media type examples for OAS3 responses * use `example` in schema level example * refactor: move stringify to utils * prioritize media type examples in OAS3 request bodies * modify nightwatch config * fix parameter/response regressions * reorder and broaden default value sources * update lockfile
-
- 07 7月, 2018 1 次提交
-
-
由 kyle 提交于
* fix: handle urlencoded array data correctly * fix: don't stringify non-object sample values * fix linter
-
- 28 6月, 2018 1 次提交
-
-
由 kyle 提交于
* improvement: re-enable and improve Models jump-to-path * fix(sample-gen): respect null values in examples
-
- 15 6月, 2018 1 次提交
-
-
由 kyle 提交于
-
- 17 5月, 2018 1 次提交
-
-
由 kyle 提交于
* render suitable interface for `type: object` parameters * validate OAS3 object parameters correctly * display parameter validation errors * remove irrelevant css classes * rm comment * fix failing tests * add validateParam tests * add enzyme tests for object parameter rendering * run actual tests first
-
- 27 4月, 2018 1 次提交
-
-
由 Helder Sepulveda 提交于
* extend getExtensions Add optional param to getExtensions that can retrieve more stuff * Add getCommonExtensions * Trim trailing spaces * Remove unused parameter * Move the format inline with the param type * correction to UnitTest
-
- 10 4月, 2018 1 次提交
-
-
由 Ville Skyttä 提交于
-
- 31 3月, 2018 1 次提交
-
-
由 kyle 提交于
* fix(dev-server): don't open localhost in a browser * tests: refactor model-example enzyme tests to be more isolated * tests: add failing sampleFromSchema tests for $$ref keys * tests: add additional test for user-created $$ref values * fix: create deeplyStripKey; use it to filter $$refs out of examples * tests: add cases for deeplyStripKey
-
- 03 3月, 2018 1 次提交
-
-
由 kyle 提交于
* Use `parameterWithMeta` to get parameter data in <ParameterRow> * Prefer specPath when fetching resolved subtrees in OperationContainer * Add test for OAS3 callback rendering * Remove debugger statement * Pass base resolution URL directly to Swagger-Client subtree resolver * Remove accidental comment * Migrate additional options * Don't default to empty Map when getting subtree * fix(validateParam): check for ImList type before using count method * Use `replaceState` to update `urls.primaryName` This gives us the stateful URL we want, without: (a) refreshing the page on update (b) creating a long, useless history for the user (c) implying that browser history is two-way bound to Swagger-UI (it isn't, we don't have a router) * Add `fn.opsFilter` docs and internal API versioning note * restrict `x-example` functionality to Swagger 2.0 * polish Authorize + Close buttons * add tachyons; use it for padding the new Reset button * v3.12.0 * rebuild dist
-
- 27 2月, 2018 1 次提交
-
-
由 Grégoire Charvet 黑瓜 提交于
* Fix deeplinking for topbar plugin * Lint & added tests for search parsing/serialization
-
- 24 2月, 2018 1 次提交
-
-
由 Helder Sepulveda 提交于
* Allow any guid * Add a few more GUID tests
-
- 12 1月, 2018 2 次提交
-
-
由 Lukasr29 提交于
* Added extraction of quoted file name from content disposition header * Added extraction of quoted file name from content disposition header - PR Fixes * Added extraction of quoted file name from content disposition header - PR Fixes * Added extraction of quoted file name from content disposition header - PR Fixes
-
由 linelson 提交于
* fix uuid validation casing (#4099) * add test
-
- 06 1月, 2018 2 次提交
-
-
由 narutowyh 提交于
-
由 Juan J. Jimenez-Anca 提交于
Contains a breaking internal API change to `errActions.newThrownErr`, which will require a MINOR version bump. Swagger-Editor does not depend on the old usage style.
-
- 07 12月, 2017 1 次提交
-
-
由 Josh Ponelat 提交于
-
- 29 11月, 2017 1 次提交
-
-
由 Kyle Shockey 提交于
-
- 11 11月, 2017 1 次提交
-
-
由 Kyle Shockey 提交于
-
- 06 11月, 2017 1 次提交
-
-
由 Greg Thompson 提交于
-
- 03 11月, 2017 1 次提交
-
-
由 Kyle Shockey 提交于
-
- 02 11月, 2017 2 次提交
-
-
由 HelderSepu 提交于
-
由 HelderSepu 提交于
-