- 08 10月, 2020 1 次提交
-
-
由 tobiasnitsche 提交于
-
- 11 9月, 2020 2 次提交
-
-
由 Scott O'Hara 提交于
-
由 mbehboodian 提交于
-
- 30 7月, 2020 1 次提交
-
-
由 David Goss 提交于
-
- 18 7月, 2020 1 次提交
-
-
由 Tim Lai 提交于
Co-authored-by: NAdrieanKhisbe <adriean.khisbe@live.fr>
-
- 16 7月, 2020 1 次提交
-
- 07 7月, 2020 1 次提交
-
-
由 Vladimir Gorej 提交于
This reverts commit b9b32c9c. Refs #6203 #5830
-
- 16 6月, 2020 2 次提交
-
-
由 Tim Lai 提交于
* directly load data:image/svg+xml * current webpack config only allows inline file via jsx
-
由 Aldrin Abastillas 提交于
* Move next to download button and match styling Co-authored-by: NAldrin Abastillas <AAbastillas@rcanalytics.com> Co-authored-by: NTim Lai <timothy.lai@gmail.com>
-
- 11 6月, 2020 4 次提交
-
-
由 Gary Gale 提交于
* Replace Base64 encoded SVGs with unencoded version. Replace partially URL encoded SVGs with unencoded version, removing extraneous LF character
-
由 tomdegoede 提交于
* fix: convert propStyle to propClass
-
由 Wesley Schwengle 提交于
Co-authored-by: NTim Lai <timothy.lai@gmail.com>
-
由 Matthew Morrissette 提交于
* improvement: oauth "scopes" init parameter * improvement: add "select all" and "select none" to oauth scopes popup
-
- 30 5月, 2020 1 次提交
-
-
由 abcang 提交于
-
- 04 11月, 2019 1 次提交
-
-
由 Jamie Peabody 提交于
* 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
-
- 04 7月, 2019 1 次提交
-
-
由 Rody-Kirwan 提交于
* housekeeping: update color variable names and values (via #5337) * Update operation colors, abstracted colors from element specific variables * Removed colors.scss * Typo
⚾ * Undefined var fix * revert operation color changes (for now) * fix whitespace
-
- 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
-
- 15 3月, 2019 1 次提交
-
-
由 Zhang Yi Jiang 提交于
* bug: fix pre styles for block code * bug: Fix badge padding * create Markdown-specific stylesheet
-
- 16 2月, 2019 1 次提交
-
-
由 kyle 提交于
* 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`
-
- 22 12月, 2018 1 次提交
-
-
由 kyle 提交于
* add tests * compute index before triggering URL load * bonus: improve urls topbar label
-
- 15 12月, 2018 1 次提交
-
-
由 kyle 提交于
* new favicons * lockfile * update logo * styling changes * remove url-loader 10K limit
-
- 24 11月, 2018 1 次提交
-
-
由 Sullivan SENECHAL 提交于
-
- 12 11月, 2018 1 次提交
-
-
由 Jennifer Kaplan 提交于
* removed componentWillMount and removed unneeded empty lines * saved file again
-
- 29 9月, 2018 1 次提交
-
-
由 kyle 提交于
* improve: nest Servers within Schemes container * linter fixes
-
- 07 9月, 2018 1 次提交
-
-
由 Andreas Lind 提交于
Follow up to #4598
-
- 09 8月, 2018 1 次提交
-
-
由 geraldglynn 提交于
-
- 04 8月, 2018 1 次提交
-
-
由 kyle 提交于
* add baseline tests * coerce empty strings to null when updating parameter values * add ParameterIncludeEmpty * add redux management for empty parameter value inclusion state * use name+in keying for state management instead of hash keying * update new redux method usages to name+in keying * coerce empty Immutable iterables in onChangeWrapper * OAS3 tests & support * add included empty parameters to requests before dispatching to Swagger Client * make empty inclusion interface prettier * add tests for #4587 * linter fixes * check for truthy value before reaching into property
-
- 27 7月, 2018 1 次提交
-
-
由 Yuanhai He 提交于
-
- 06 7月, 2018 1 次提交
-
-
由 Markus Poerschke 提交于
Remove usage of Google Fonts to avoid any data protection issue. Using a CDN will leak data to a third party that can be simply avoided by using system fonts instead. Furthermore the usage of CDNs can cause legal issues in EU countries.
-
- 23 6月, 2018 1 次提交
-
-
由 kyle 提交于
-
- 02 6月, 2018 1 次提交
-
-
由 kyle 提交于
* create VersionPragmaFilter component * use VersionPragmaFilter in BaseLayout * tighten version idenitifier constraints * handle case where user specifies a valid `swagger` and `openapi` field * add traceable class names for each message * add tests * linter fixes! * UNRELATED CHANGE: remove travis short-circuit * add bypass switch to VersionPragmaFilter
-
- 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
-
- 14 4月, 2018 1 次提交
-
-
由 kyle 提交于
* fix: attempt to display Blob response bodies as text ... if nothing else works. * correctly pass `prevProps.content` to updateParsedContent * remove debugger statement * caniuse `Blob` && `FileReader`? yes. Blob: https://caniuse.com/#search=Blob FileReader: https://caniuse.com/#search=filereader
-
- 13 4月, 2018 1 次提交
-
-
由 Giancarlo Klemm Camilo 提交于
* Auto hidding content that is longer than 600 characters long. * Added basic downloading Slightly broken * Better downloading now downloads file on button click * Fix the angry linter * Fix dist * Removed collapsing, added scrolling. * Code clean up. * CSS fix. * prevent HighlightCode from scrolling entire document * center "Download" text in button * `this.downloadJSON` -> `this.downloadText` we're always saving as `.txt`, so JSON is a misnomer * hide Download button behind option `downloadable` prop * `file-saver` -> `js-file-download`
-
- 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
-
- 24 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 * 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
-
- 10 2月, 2018 2 次提交
- 08 2月, 2018 1 次提交
-
-
由 kyle 提交于
-