Commit Graph
289 Commits
Author SHA1 Message Date
Greg Thompson 0d0b3279bb Merge branch 'master' into ft/3052-extensions 2017-11-13 09:29:19 -06:00
Kyle Shockey e45b9b82a8 Fix docExpansion: full regression 2017-11-10 22:34:55 -08:00
Kyle Shockey 82a2ee9a34 Add safe string method access for toTitleCase 2017-11-10 16:57:14 -08:00
kyle bfe2667326 Remove unused Immutable.List import 2017-11-09 19:28:20 -08:00
kyle 6a2659c5d0 Merge branch 'master' into ft/big-spec-performance 2017-11-09 19:17:37 -08:00
Kyle Shockey e33de3049f Refactor Operation component to not trigger its own re-render 2017-11-09 16:28:53 -08:00
Greg Thompson 91dab7b166 getConfigs prop expansion; limit extension render based on config setting 2017-11-09 10:22:41 -06:00
Greg Thompson 7b83f64676 Merge branch 'master' into ft/3052-extensions 2017-11-09 08:31:04 -06:00
kyle 1d6b8e3892 Merge branch 'master' into bug/misc-proptype-fixes 2017-11-08 22:28:24 -08:00
Greg Thompson a7531a245c Merge branch 'master' into bug/misc-proptype-fixes 2017-11-08 16:09:31 -06:00
Greg Thompson 233dacde71 Merge branch 'ft/3052-extensions' of https://github.com/thompsongl/swagger-ui into ft/3052-extensions 2017-11-08 08:52:55 -06:00
Greg Thompson 45a0295c0e use correct immutable map size 2017-11-08 08:52:34 -06:00
Larry Gregory 57a3be28b0 Update react-collapse and react-motion 2017-11-08 07:41:23 -05:00
kyle 5231c13579 Merge branch 'master' into ft/3052-extensions 2017-11-07 21:33:05 -08:00
Kyle Shockey 8b8c9b744d Make Model a PureComponent 2017-11-07 20:12:19 -08:00
Greg Thompson 16e756bed7 disallow null value 2017-11-07 11:15:37 -06:00
Kyle Shockey ed34a8dae9 Linter: Remove unused import 2017-11-06 21:24:16 -08:00
Kyle Shockey 21bf5919a9 Rewire AuthorizeOperationBtn; create new selector for filtering definitions 2017-11-06 20:42:47 -08:00
Greg Thompson a58cd25f08 Merge branch 'master' into ft/3052-extensions 2017-11-06 09:18:51 -06:00
Greg Thompson 9a66acf37f operation extensions display 2017-11-06 09:18:05 -06:00
Greg Thompson 44c422eba3 parameter extensions display 2017-11-06 09:17:30 -06:00
Kyle Shockey d5d7e45d62 Indent XML with 2 spaces 2017-11-03 18:13:17 -07:00
kyle 09b37428c2 Merge branch 'master' into ft/property-component 2017-11-02 17:51:59 -07:00
Kyle Shockey 17e6d81504 Format XML with xml-but-prettier 2017-11-02 15:13:10 -07:00
Greg Thompson 4b453e3535 use property component in array-model and primitive-model 2017-11-02 15:20:20 -05:00
Greg Thompson 0c41155100 adds new property display component 2017-11-02 15:19:38 -05:00
Kyle Shockey afa615e01d Add URL sanitizer to avoid javascript: XSS attack vector 2017-10-30 17:43:23 -07:00
Kyle Shockey 2157988212 Don't reach into schema for value 2017-10-27 23:31:47 -07:00
Kyle Shockey 79ddae1526 Pass correct schema values to parameter state builder for OAS3 2017-10-27 22:23:11 -07:00
Kyle Shockey 7c917325f0 Linter fixes 2017-10-20 19:31:52 -07:00
kyle 6d22e38a04 Merge branch 'master' into ft/oas3-authorization 2017-10-20 19:07:38 -07:00
Kyle Shockey 631e69f6f8 Pass parameter.schema as schema in OAS 3.0
Parameters were restructured in OAS 3.0; schemas are no longer at
the top level of parameters. Adjusting to account for the change.
2017-10-20 16:01:26 -07:00
Kyle Shockey c9674a1fc5 Refactor Auths component flow; create component that supports HTTP auths 2017-10-18 21:23:28 -07:00
Mark H. Wilkinson e1a7af4c92 Fix regression with rendering links in Markdown. 2017-10-16 14:40:07 +01:00
Kyle Shockey d677e534c3 WIP 2017-10-13 21:23:45 -07:00
Kyle Shockey 8b81bcac48 OAS3 Auth MVP 2017-10-11 16:58:24 -07:00
kyle f32492b4ee Merge branch 'master' into bug/3730-empty-body-responses 2017-10-10 17:44:58 -07:00
Owen Conti 60e8091eed Add unit test for images in markdown 2017-10-08 10:26:32 -06:00
Owen Conti ec76e512e2 Fixes #3730
Add extra check for missing response content and contentType
2017-10-08 09:38:08 -06:00
Owen Conti 729fd71546 Fixes #3734
Add <h1> and <h2> elements to sanitizer options.
2017-10-08 09:09:29 -06:00
kyle ac634c61ce Merge branch 'master' into feature/request-url 2017-09-29 14:38:42 -07:00
kyle 44882700c2 Merge branch 'master' into array-model-markdown-description 2017-09-29 14:06:01 -07:00
kyle 263f6feb2f Merge branch 'master' into ft/default_model_rendering 2017-09-29 13:29:04 -07:00
kyle ef9fe9d755 Merge branch 'master' into bug/swagger-editor-1502 2017-09-29 12:16:01 -07:00
kyle 4f1a8abd0d Merge branch 'master' into bug/3706-enum-param 2017-09-27 19:48:37 -07:00
Owen Conti 590819ad9b Fixes swagger-editor/#1502.
Change logic for markdown rendering to:

1. Convert source markdown to HTML
2. Sanitize HTML
3. Send sanitized HTML to markdown renderer
2017-09-27 18:05:12 -06:00
Elvin Lemmens ca1a0fa544 Apply conditions for generating download link correctly
Invalid application of AND/OR statements prevented file downloads of other types than application/octet-stream from generating a download link
2017-09-27 12:34:46 +02:00
Owen Conti 31e7ce0c5e Fixes #3706
Add missing "in" argument to `getParameter`
2017-09-25 21:26:44 -06:00
Owen Conti fd00a0489a Remove shouldComponentUpdate from parameter-row component. It will be put back in eventually as part of the performance optimizations once the parameter components are converted to the smart/dumb approach. 2017-09-23 13:10:09 -06:00
Owen Conti a1758da87c Merge branch 'master' into bug/3511-query-formData-parameters 2017-09-20 22:37:43 -06:00