1. 11 4月, 2019 1 次提交
  2. 15 3月, 2019 1 次提交
  3. 09 11月, 2018 1 次提交
  4. 04 8月, 2018 1 次提交
    • K
      fix: anchor tag safety (via #4789) · dd3afdc4
      kyle 提交于
      * v3.17.6
      
      * release(3.17.6): rebuild dist
      
      * add failing tests
      
      * fix Link component
      
      * fix OnlineValidatorBadge component
      
      * switch from <a> to <Link> in operation components
      
      * make Markdown inputs safe
      
      * use Link component in Info block, for target safety
      
      * add eslint rule for unsafe `target` usage
      dd3afdc4
  5. 20 7月, 2018 1 次提交
    • K
      housekeeping: bundle size reductions (#4713) · 0359f9c3
      kyle 提交于
      * set new bundlesize goal
      * preserve `GeneratorFunction` instead of all function names
      * use js-yaml fork that doesn't require esprima
      * set HTML content directly, instead of using React-Markdown
      * use remarkable for all Markdown rendering
      * add babel-plugin-transform-react-remove-prop-types
      * remove SplitPaneMode plugin
      * remove react-collapse
      * remove AST plugin, and yaml-js
      * trim Markdown HTML string output before rendering
      * disable obsolete function name preservation
      * add `getComponent` to propTypes
      0359f9c3
  6. 06 4月, 2018 1 次提交
    • 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
  7. 02 10月, 2017 1 次提交
  8. 28 9月, 2017 1 次提交
    • O
      Fixes swagger-editor/#1502. · 590819ad
      Owen Conti 提交于
      Change logic for markdown rendering to:
      
      1. Convert source markdown to HTML
      2. Sanitize HTML
      3. Send sanitized HTML to markdown renderer
      590819ad
  9. 05 7月, 2017 1 次提交
  10. 29 6月, 2017 1 次提交
  11. 01 6月, 2017 1 次提交
  12. 24 5月, 2017 1 次提交