Commit Graph

3005 Commits

Author SHA1 Message Date
Owen Conti
a6e070ac76 Replace spaces with underscores when setting the hash value and inserting the ID into the DOM. Escape the deep link path when querying for the DOM element on hash change. 2017-09-13 21:32:46 -06:00
Owen Conti
16364fb81e Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3596-permalink-encoding 2017-09-13 17:25:38 -06:00
Owen Conti
430e2a970f Fixes #3596
Wrap `isShownKey` values in a function that replaces spaces with underscores. When parsing the hash on route change, replace the spaces in the values with underscores again.
2017-09-13 17:20:37 -06:00
Kyle
c7cb902eee Merge pull request #3655 from owenconti/bug/3032-wrong-properties-order
Fixes #3032 - Wrong property order
2017-09-13 12:21:20 -07:00
Owen Conti
ef99b7e434 Remove it.only from new test 2017-09-12 23:09:21 -06:00
Owen Conti
cade5100e0 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3032-wrong-properties-order 2017-09-12 23:07:36 -06:00
Owen Conti
cb88cd53b6 Added test for response.jsx to make sure properties are passed to ModelExample component in the correct order 2017-09-12 23:07:11 -06:00
Owen Conti
a47cc284f7 Update response.jsx to use already existing, fromJSOrdered function 2017-09-12 23:06:24 -06:00
Owen Conti
7cd42992f2 Merge branch 'master' of github.com:swagger-api/swagger-ui 2017-09-12 17:14:39 -06:00
Kyle
746e247834 Merge pull request #3650 from owenconti/bug/3490-anyOf-oneOf-not
Fixes #3490 (mostly)
2017-09-11 19:59:00 -07:00
Kyle
8a4d2461d8 Merge branch 'master' into bug/3490-anyOf-oneOf-not 2017-09-11 19:54:59 -07:00
Kyle
72f01b631e Merge branch 'master' into bug/3032-wrong-properties-order 2017-09-11 19:51:02 -07:00
Owen Conti
408e038b2d fromJS does not maintain order of object properties. Use a reviver function with fromJS inside the response.jsx component for the passed down schema prop. 2017-09-11 20:28:58 -06:00
Ron
65ff161c0b Merge pull request #3579 from OpenGov/bug/SWAGGER_JSON-doc-fix
Updated docs for correct usage of SWAGGER_JSON
2017-09-11 05:25:16 -07:00
Ron
93fcf06620 Merge branch 'master' into bug/SWAGGER_JSON-doc-fix 2017-09-11 05:21:10 -07:00
Kyle
23cb5c93e5 Merge pull request #3651 from shockey/v/3.2.0
v3.2.0
2017-09-09 13:33:27 -07:00
Kyle Shockey
560d566d7d v3.2.0 2017-09-09 13:10:34 -07:00
Owen Conti
3f04d2dfc6 Merge branch 'master' into bug/3490-anyOf-oneOf-not 2017-09-09 13:56:22 -06:00
Owen Conti
12c96e3190 Add comment to array-model for to clarify change. Rework logic in Model.render() to fix bug with overriding name and schema from $ref definition. 2017-09-09 13:51:09 -06:00
Kyle
3f9b999e90 Merge pull request #3648 from swagger-api/ft/oas3-tio
OAS3: Try-It-Out
2017-09-08 18:54:25 -07:00
Kyle
a2b572872f Merge branch 'master' into ft/oas3-tio 2017-09-08 18:50:14 -07:00
Kyle Shockey
5bc096d32b Fit linter and tests 2017-09-08 18:44:11 -07:00
Owen Conti
e9f46e6f5e Working on refactoring of model.jsx 2017-09-08 17:59:41 -06:00
Owen Conti
3b9940567b Fix property names being displayed in array models 2017-09-07 18:28:38 -06:00
Kyle Shockey
a58e6eb766 Fix typo in swagger-client dependency 2017-09-06 13:57:11 -07:00
Kyle Shockey
e2fcadf6d4 Use Client branch 2017-09-06 13:25:06 -07:00
Kyle Shockey
d14ae62aa5 Parse JSON requestBodies so Client can consume them correctly 2017-09-05 15:07:55 -07:00
Kyle
f618ed632d Merge pull request #3632 from heldersepu/master
fix #3624
2017-09-05 14:14:06 -07:00
Kyle Shockey
7a2c7d2cdc Squash commit: OAS3 Try-It-Out changes 2017-09-05 13:59:31 -07:00
HelderSepu
947953d087 fix #3624 2017-09-02 19:59:18 -04:00
Kyle
de64123d6f Merge pull request #3619 from vanta/patch-1
Typo fix
2017-08-29 12:11:44 -07:00
Krzysztof Wolny
6c03655003 Typo fix 2017-08-28 15:33:54 +02:00
Kyle
f0fdc6613e Merge pull request #3614 from shockey/v/3.1.7
v3.1.7
2017-08-25 18:46:51 -07:00
Kyle Shockey
2b644afb44 v3.1.7 2017-08-25 18:39:19 -07:00
Kyle
e37d4a5108 Merge pull request #3613 from swagger-api/bug/3586-promise-polyfill-species-test
Only polyfill `Promise` if it doesn't exist at all
2017-08-25 16:17:11 -07:00
Kyle
db4aa95d4a Only polyfill Promise if it doesn't exist at all 2017-08-25 15:56:54 -07:00
Kyle
f5df9ff173 Merge pull request #3612 from invictusmaneo/bug/3610
Bugfix for #3610
2017-08-25 12:13:34 -07:00
Kyle Shockey
5da3843281 Refactor: use ternary operators at attribute level instead of element level 2017-08-25 12:06:11 -07:00
Surya
f63d2b1ae8 If deeplinking is disabled the anchor tag has no href attribute as a result the mouse pointer is not a pointer as it is no longer a hyperlink, setting the cursor explicitly to pointer. 2017-08-25 23:57:21 +05:30
Surya
f7efd58305 Removed href attribute from anchor tag if deeplinking is disabled 2017-08-25 23:43:56 +05:30
Kyle
b6cd5049e5 Merge pull request #3601 from swagger-api/shockey-patch-1
Update issue_template.md: Version detection hint
2017-08-21 16:05:27 -07:00
Kyle
edbbbdd6ee Update issue_template.md 2017-08-21 16:01:04 -07:00
Ron
237c71cac7 Merge pull request #3600 from swagger-api/version-docs
Version docs
2017-08-21 15:54:00 -07:00
Ron
deeb2bcd3e fixed file name 2017-08-21 15:45:59 -07:00
Ron
f548ec4dfd more docs! 2017-08-21 15:44:14 -07:00
Ron
4c28385751 expanded documentation 2017-08-21 15:38:51 -07:00
Kyle
72c8887d7b Merge pull request #3595 from shockey/v/3.1.6
v3.1.6
2017-08-18 18:51:10 -07:00
Kyle Shockey
bd3d00c182 v3.1.6 2017-08-18 18:43:52 -07:00
Kyle
ff4930b235 Merge pull request #3593 from oysteinsigholt/fix-domNodeMerge
Fixes #3589 - Remove domNode from deepExtend
2017-08-18 09:49:10 -07:00
Øystein Sigholt
7287c74a3a Remove domNode from deepExtend 2017-08-18 18:27:16 +02:00