1. 08 5月, 2018 2 次提交
  2. 05 5月, 2018 3 次提交
    • K
      v3.14.1 (#4521) · 11c58630
      kyle 提交于
      * v3.14.1
      
      * transform `const` & `let` to `var` in node_modules, for IE11
      
      * rebuild dist
      11c58630
    • K
      meta: multiple issue templates (#4519) · a37d6370
      kyle 提交于
      * MOAR issue templates
      
      * ...LESS issue templates
      a37d6370
    • K
      improvement: sanitization via DOMPurify (#4513) · 75747424
      kyle 提交于
      * swap `sanitize-html` for `dompurify`
      
      * set up node enzyme tests with jsdom
      
      dompurify, as the name suggests, needs a DOM or it won't work!
      
      * reconcile tests and sanitizer settings
      
      * remove obsolete sanitizeOptions
      
      * add `jsdom` dependency
      75747424
  3. 04 5月, 2018 1 次提交
    • H
      Improve downloadable HighlightCode filename (#4508) · 8055129d
      Helder Sepulveda 提交于
      * Update highlight-code.jsx
      * improve filename no more response.txt
      * use new `fileName` prop for file names
      * use template strings for `fileName` prop values
      * fall back to old "response.txt" file name if none is provided
      8055129d
  4. 28 4月, 2018 2 次提交
  5. 27 4月, 2018 2 次提交
  6. 24 4月, 2018 1 次提交
  7. 21 4月, 2018 3 次提交
  8. 20 4月, 2018 1 次提交
  9. 19 4月, 2018 2 次提交
  10. 14 4月, 2018 5 次提交
  11. 13 4月, 2018 2 次提交
    • G
      enhance: scrollable + downloadable `HighlightCode` (#4397) · 27955183
      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`
      27955183
    • C
      docs: fix typo (#4431) · 2bf2167a
      Chris Ormerod 提交于
      Operations is lowercase, without this fix the example doesn't work as a Copy/Paste
      2bf2167a
  12. 11 4月, 2018 1 次提交
  13. 10 4月, 2018 1 次提交
  14. 07 4月, 2018 3 次提交
  15. 06 4月, 2018 3 次提交
    • L
      Fix(auth): improper resolution of relative token urls (#4180) · e2d8a4e3
      Luka Žitnik 提交于
      * fix(auth): improper resolution of relative token urls
      
      * revert cc58ba7 for OAS2
      
      In OAS2, relative token URLs are resolved against the host that serves the specs.
      e2d8a4e3
    • D
      Improve enum values for Enum Type in Swagger ReadOnly documentation (#4191) · 39d34523
      David DE CARVALHO 提交于
      * Adding enum values for Enum Type in Swagger ReadOnly documentation
      
      * Adding enum values for Enum Type in Swagger ReadOnly documentation (optimisation) and also adding default/example value
      
      * Add new display enums, defaults, and examples when not in TIO mode (another way to have enums values in swagger.json)
      
      * Fix npm test result
      
      * review corrections
      
      * fix: don't render parameter description if field is empty
      
      * use cross-version schema variable to access properties
      
      * pass className through Markdown component usage
      
      * add per-field classNames to Markdown for easier styling + testing
      
      * remove parameter Example field (out-of-scope for this PR)
      
      * get default value from schema instead of top-level parameter
      
      * tests: add e2e cases for swagger2 and oas3
      
      * remove `swagger-petstore-enum.json`
      
      the purpose of this file lives on in the e2e test specs folder
      
      * add missing proptypes validation
      
      * use `classnames` to more effectively union class names
      39d34523
    • K
      pass meta error information to JsonSchemaForm correctly (#4416) · d9035322
      kyle 提交于
      * tests: add failing e2e tests
      
      * fix: pass meta error information to JsonSchemaForm correctly
      d9035322
  16. 05 4月, 2018 1 次提交
  17. 31 3月, 2018 2 次提交
    • K
      v3.13.2 (#4393) · 2c4327bf
      kyle 提交于
      * v3.13.2
      
      * rebuild dist
      2c4327bf
    • K
      Filter `$$ref` from examples (#4392) · fd8274b3
      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
      fd8274b3
  18. 30 3月, 2018 1 次提交
  19. 28 3月, 2018 2 次提交
  20. 25 3月, 2018 1 次提交
    • K
      v3.13.1 (#4367) · 9c8955ed
      kyle 提交于
      * fix: don't assign example if an example does not exist
      
      fixes #4319
      
      * v3.13.1
      
      * rebuild dist
      9c8955ed
  21. 24 3月, 2018 1 次提交