Commit Graph

1191 Commits

Author SHA1 Message Date
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
Kyle Shockey
afec3af4e0 Rename variable: "selectedName" -> "primaryName" 2017-06-27 17:29:03 -07:00
Kyle Shockey
158c899176 "name" -> "urls.primaryName" 2017-06-27 17:26:24 -07:00
Kyle Shockey
c423a68cfc Update selectedIndex when a new URL is loaded 2017-06-27 17:15:13 -07:00
Raphaël MARQUES
24bc8c4b85 Complying with CI 2017-06-27 16:45:23 +02:00
Raphaël MARQUES
4fe27786f4 Adding apisSorter options, taking a string or a function as a configuration value 2017-06-27 15:29:07 +02:00
Jesse Mandel
e8a5d0d721 Merge branch 'master' into TopbarPluginWithSelect 2017-06-26 23:07:17 -07:00
Jesse Mandel
8cd5007812 Use select value to avoid react warning 2017-06-26 23:04:42 -07:00
Jesse Mandel
41e4d98a4c Properly added name config
Now access it through getConfigs
Documented it in README
2017-06-26 22:49:57 -07:00
Owen Conti
0c6f5e8d32 Add displayRequestDuration configuration option. 2017-06-26 21:13:17 -06:00
Owen Conti
fe60544ff7 Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/3135-request-duration 2017-06-26 19:58:07 -06:00
shockey
8d4750d76c Merge branch 'master' into ft/3289-boolean-default-value 2017-06-26 18:11:35 -07:00
shockey
a2e6619544 Merge branch 'master' into bug/3256-example-value-fix 2017-06-26 17:23:36 -07:00
Owen Conti
61d874d484 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3072-error-response-fixes 2017-06-26 16:32:52 -06:00
Owen Conti
c67ae29e7a Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3072-error-response-fixes 2017-06-26 16:24:20 -06:00
shockey
7adc8f187a Merge branch 'master' into file-sample 2017-06-26 15:23:17 -07:00
Owen Conti
cf63f9b9dd Fix for #2947 - Display property names for non-object models 2017-06-25 22:31:14 -06:00
Owen Conti
de3046e29d #3256 - Remove unnecessary JSON.stringify call on example values that are already strings 2017-06-25 16:39:54 -06:00
Owen Conti
b2d52e2629 Remove isRequired from ResponseBody's contentType property as responses without a Content-Type header will not have a value to pass 2017-06-25 16:10:14 -06:00
Owen Conti
789534c587 Bug fix for #3136 - Update state when scheme options change and previously selected option is no longer available 2017-06-25 15:51:07 -06:00
Owen Conti
ddb5704637 #3072 - Display response body and headers for requests that result in non-200 responses. Add test to ensure error and response are merged correctly 2017-06-25 13:28:14 -06:00
Owen Conti
8b073757fe #3289 - Update boolean sample function to accept schema object and return value based off of schema's default value (if exists) 2017-06-25 09:59:12 -06:00
Owen Conti
7049a5960c #3135 - Add request duration to response details 2017-06-25 09:16:35 -06:00