- 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
-
- 30 3月, 2018 1 次提交
-
-
由 Helder Sepulveda 提交于
-
- 28 3月, 2018 2 次提交
- 25 3月, 2018 1 次提交
-
-
由 kyle 提交于
* fix: don't assign example if an example does not exist fixes #4319 * v3.13.1 * rebuild dist
-
- 24 3月, 2018 1 次提交
-
-
由 kyle 提交于
fixes #4319
-
- 22 3月, 2018 1 次提交
-
-
由 kyle 提交于
-
- 17 3月, 2018 4 次提交
- 16 3月, 2018 2 次提交
- 15 3月, 2018 1 次提交
-
-
由 kyle 提交于
* create `InfoUrl` component * create `InfoBasePath` component * linter fixes
-
- 13 3月, 2018 1 次提交
-
-
由 Scott O'Hara 提交于
* improve: show possible reasons when url fetch fails * Only check for fail reasons if no HTTP status code * Check for mixed content errors first * Harmonise error messages * Set error source to 'fetch' * improve: hide loading validator image (#4287) * hide missing validator image * Render nothing if validator badge has not loaded/received errors * Revert style changes * Allow images with data scheme (#4305) * Add UnitTest for image allows image elements with https scheme * Test images with data scheme * Add allowedSchemesByTag * Fix error Strings must use doublequote quotes * Add empty div (#4236) if there are properties show an empty div * v3.12.1 (#4311) * v3.12.1 * Rebuild dist for v3.12.1 * Use window wrapper instead of direct reference * Add trailing period to error messages * improve readability
-
- 10 3月, 2018 1 次提交
-
-
由 kyle 提交于
* v3.12.1 * Rebuild dist for v3.12.1
-
- 09 3月, 2018 2 次提交
-
-
由 Helder Sepulveda 提交于
if there are properties show an empty div
-
由 Helder Sepulveda 提交于
* Add UnitTest for images allows image elements with https scheme * Test images with data scheme * Add allowedSchemesByTag * Fix error Strings must use doublequote quotes
-
- 07 3月, 2018 1 次提交
-
-
由 Helder Sepulveda 提交于
* hide missing validator image * Render nothing if validator badge has not loaded/received errors * Revert style changes
-
- 03 3月, 2018 7 次提交
-
-
由 kyle 提交于
-
由 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
-
由 russell 提交于
* Add a button to reset example when user modifys request body * lint fixes * Revert "lint fixes" This reverts commit 5395005ea775832045aee9bab4aaa538cd2f73ab. * reapply lint fixes
-
由 Charles Capps 提交于
* Rename "Done" button to "Close", and add "Close" button OAuth dialog * move Close button to the right
-
由 Davide Zipeto 提交于
* Read the x-example field and use them as values Allow to show the value defined in the "x-example" field when pressing try-out. The "default" value will have the precedence over the x-example * 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 * make "default" and "x-example" mutually exclusive "x-example" wins when both are present * limit "x-example" to non-body parameters
-
由 Pavel Stefanov 提交于
* Fixed oneOf and anyOf in array example * Added tests for sampleFromSchema for array type * Removed return example for array item
-
由 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
-
- 02 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
-
- 01 3月, 2018 3 次提交
- 28 2月, 2018 3 次提交
-
-
由 kyle 提交于
* Migrate behavior of `operationConsumes` selector * Improve accuracy of resolved subtree merger * Check for Immutable Map _before_ using `get` method
-
由 David Vujic 提交于
-
由 kovyfive 提交于
-
- 27 2月, 2018 1 次提交
-
-
由 Grégoire Charvet 黑瓜 提交于
* Fix deeplinking for topbar plugin * Lint & added tests for search parsing/serialization
-
- 24 2月, 2018 4 次提交
-
-
由 kyle 提交于
* v3.11.0 * Rebuild dist
-
由 Helder Sepulveda 提交于
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:lodash:20180130 Latest report for heldersepu/swagger-ui: https://snyk.io/test/github/heldersepu/swagger-ui
-
由 Helder Sepulveda 提交于
* Allow any guid * Add a few more GUID tests
-
由 kyle 提交于
* default to empty `ImmutableMap` when grabbing op metadata * pass `errors` into JsonSchema components * Account for Immutable data structure in JavaScriptonSchema... ...and create empty Lists instead of Maps by default. * Pass ImmutableList through to JsonSchema child components * Add lazy resolving spec state extensions * TEMPORARY: disable conventional resolved spec * WIP * Use resolveSubtree in Operation display * Freebie: short-circuit Markdown component if it is given plaintext * NEW DEFAULT BEHAVIOR: `defaultModelsExpandDepth: 1` does not expand individual models * Render faked Model expander to trigger resolution * Baseline support for Editor lifecycles * Display operation summaries before the operation is resolved * Test migrations * WIP * Swagger2 TIO Body params * a bit of cleanup * Debounce string param inputs * Reach into unresolved operation for deprecated flag, if available * Fire subtree request outside of render * Remove debugging flags * Fix logical errors in spec statePlugins * TODOs become TODONEs! * Migrate deeplinking feature to non-resolved spec action * ESLint fixes * Reduce action dispatch volume; run resolver on next tick * Batch resolver requests; use batch progressive results in later iterations * Add loading states to Model and Operation views * Preserve object order; remove dupl. import; add warning for action * LINTER! * Use require to load SVG Works around Webpack weirdness
-
- 23 2月, 2018 1 次提交
-
-
由 kyle 提交于
* default to empty `ImmutableMap` when grabbing op metadata * pass `errors` into JsonSchema components * Account for Immutable data structure in JavaScriptonSchema... ...and create empty Lists instead of Maps by default. * Pass ImmutableList through to JsonSchema child components * Add lazy resolving spec state extensions * TEMPORARY: disable conventional resolved spec * WIP * Use resolveSubtree in Operation display * Freebie: short-circuit Markdown component if it is given plaintext * NEW DEFAULT BEHAVIOR: `defaultModelsExpandDepth: 1` does not expand individual models * Render faked Model expander to trigger resolution * Baseline support for Editor lifecycles * Display operation summaries before the operation is resolved * Test migrations * WIP * Swagger2 TIO Body params * a bit of cleanup * Debounce string param inputs * Reach into unresolved operation for deprecated flag, if available * Fire subtree request outside of render * Remove debugging flags * Fix logical errors in spec statePlugins * TODOs become TODONEs! * Migrate deeplinking feature to non-resolved spec action * ESLint fixes
-
- 20 2月, 2018 1 次提交
-
-
由 Ron 提交于
Fix Summary links
-