Commit Graph

610 Commits

Author SHA1 Message Date
Gwyn Judd
c3f9c094d1 Added maxRows and filter support
Useful for the display of very large swagger specs. Can limit the number of operations to a smaller value and search
2017-07-11 09:38:20 +12:00
Owen Conti
d8400f8729 Fixes #3300 - Updates to versions.swaggerUi information 2017-07-09 14:17:18 -06:00
Owen Conti
5d9ab6a0a2 Fixes #3078 - Added breaks: true to Remarkable so newlines are rendered as line breaks. Remove margin-top from <p> tags within .model elements to fix the alignment in the model's description text. 2017-07-08 10:48:52 -06:00
Ron
fe9af65793 Merge branch 'master' into feature/apisSorter 2017-07-07 15:31:18 -07:00
shockey
0f961b7162 Merge branch 'master' into bug/3271-fix-trim-with-non-json-parameters 2017-07-07 15:31:14 -07:00
shockey
f5b299f4f5 Merge branch 'master' into bug/3309-required-file-inputs 2017-07-07 15:11:43 -07:00
Ron
3c5ad11d09 Merge branch 'master' into bug/3271-fix-trim-with-non-json-parameters 2017-07-07 15:10:49 -07:00
sharkpp
ff41b30171 fixing Non-ascii character class name
Fixed to LATIN SMALL LETTER A because class name contained CYRILLIC
SMALL LETTER A.
2017-07-08 01:19:03 +09:00
Owen Conti
c1ffd9ee08 Fixes #3271 - Only trim parameter values if the parameter's content type is JSON. Change default value of parameter inputs to be '{}' only if the parameter's content type is JSON 2017-07-06 19:54:10 -06:00
Kyle Shockey
f0332d9cb5 add isSwagger2 selector 2017-07-06 11:19:51 -07:00
Kyle Shockey
0ebea56f90 Display example values for Request Bodies 2017-07-05 17:00:07 -07:00
Kyle Shockey
189f048e91 Stashed: move anyOf/oneOf/not into core 2017-07-05 15:18:50 -07:00
Kyle Shockey
4e80e292b2 Merge branch 'master' into ft/oas3 2017-07-04 23:50:00 -07:00
Kyle Shockey
8ed43a1329 Ensure OAS3 Markdown fields are sanitized 2017-07-04 19:12:43 -07:00
Raphaël MARQUES
aa07bb6b50 Complying with request for changes 2017-07-04 09:18:58 +02:00
Raphaël MARQUES
8ce2b309d8 Complying with request for changes 2017-07-04 09:15:43 +02:00
Kyle Shockey
60701962b8 Nullify Schemes selector in OAS3 2017-07-03 19:03:53 -07:00
Kyle Shockey
1970b2c410 Disable Online Validation badge for OAS3 2017-07-03 19:02:03 -07:00
Owen Conti
03961ad189 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3309-required-file-inputs 2017-07-03 18:57:41 -06:00
shockey
54f0c067b8 Merge branch 'master' into feature/apisSorter 2017-07-03 17:39:03 -07:00
Owen Conti
718658e837 Fix for non-required inputs 2017-07-03 18:12:39 -06:00
Owen Conti
dd1b87e3d7 Fixes #3309 - Add same styles as regular input elements to file inputs. Add test for validating file type. 2017-07-03 18:04:49 -06:00
Owen Conti
6fd5839103 Fix PropTypes in model-collapse component 2017-07-03 16:27:47 -06:00
Owen Conti
15e105c931 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3102-unguarded-expressions
# Conflicts:
#	src/core/components/model.jsx
#	src/core/components/models.jsx
2017-07-03 16:12:31 -06:00
Kyle Shockey
109027935f Hide main Responses ContentType picker for OAS3 2017-07-02 23:16:26 -07:00
Kyle Shockey
1e40a20e07 Add switching logic for each Response Code to have its own content types 2017-07-02 23:02:44 -07:00
Alexander Kogan
0b4cef3ca8 fixing tag order to be in the same order as definition file 2017-07-02 19:59:20 +03:00
Raphaël MARQUES
cb9ca7d4bf Merge branch 'master' into feature/apisSorter 2017-06-30 09:01:28 +02:00
Kyle Shockey
50c0d39418 MOAR alignment 2017-06-29 23:26:33 -07:00
Kyle Shockey
61de35d69c Render request bodies correctly (minus Example Value + editable functionality) 2017-06-29 23:16:54 -07:00
shockey
b72aa3a7c8 Merge branch 'master' into webpack-migration-2.x 2017-06-29 18:23:36 -07:00
shockey
afaa5619bb Merge branch 'master' into bug/3072-error-response-fixes 2017-06-29 17:20:09 -07:00
shockey
a69ed71f47 Merge branch 'master' into ft/3135-request-duration 2017-06-29 17:10:46 -07:00
shockey
07568aba3e Merge branch 'master' into bug/2947-model-display-for-non-objects 2017-06-29 15:49:40 -07:00
shockey
65ef596db1 Merge branch 'master' into bug/3299-integer-parameter-validation 2017-06-29 15:45:04 -07:00
shockey
5da71296e9 Merge branch 'master' into bug/3299-integer-parameter-validation 2017-06-29 15:43:31 -07:00
shockey
0a67efd964 Merge branch 'master' into bug/3136-operation-scheme-update 2017-06-29 15:39:11 -07:00
Kyle Shockey
3484b83d1f trigger setScheme when a new set of schemes come in 2017-06-29 13:22:58 -07:00
Owen Conti
d27cae0085 Work on #3102. Moved all the components out of model.jsx into their own files so they can be grabbed via getComponent() 2017-06-28 22:07:07 -06:00
RVKen
86482f8458 Merge branch 'master' into webpack-migration-2.x
* master:
  #3110 - Fix models down arrow icon in firefox
2017-06-29 04:40:28 +02:00
RVKen
d36f0a6dbd fix eslint issues 2017-06-29 04:37:19 +02:00
Kyle Shockey
2b37e7c2e4 Render markdown more normally 2017-06-28 19:28:30 -07:00
Owen Conti
beb7999cb8 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/2947-model-display-for-non-objects 2017-06-28 18:06:32 -06:00
Raphaël MARQUES
e5aa285547 Merge branch 'master' into feature/apisSorter 2017-06-28 23:45:47 +02:00
Raphaël MARQUES
ca9161a159 Merge branch 'master' into feature/apisSorter 2017-06-28 09:53:06 +02:00
Kyle Shockey
6e301aaa80 Don't allow Try It Out in callbacks 2017-06-27 21:42:59 -07:00
Kyle Shockey
b1956d0b46 Remove Headers from Link display 2017-06-27 21:41:36 -07:00
Kyle Shockey
fc26ffb78f Hide Callbacks operation tab if there are no callbacks 2017-06-27 21:40:00 -07:00
Owen Conti
8727754dd4 #3110 - Fix models down arrow icon in firefox 2017-06-27 20:56:48 -06:00
Owen Conti
5119c7a5db Fixes #3299 - export validateNumber and validateInteger for easy reuse and testing. Broke validateParam required check onto multiple lines. Added tests for validateNumber, validateInteger, and validateParam 2017-06-27 20:01:09 -06:00