Commit Graph

480 Commits

Author SHA1 Message Date
Roman Hotsiy
dce75ccd92 Refactored tabs styling from inside the component 2016-01-09 22:37:01 +02:00
Roman Hotsiy
da019894be Change warning to error 2016-01-09 22:37:01 +02:00
Roman Hotsiy
e1fbcb5030 Build amd module 2015-12-30 10:16:36 +02:00
Roman Hotsiy
7b7acb8679 Pass options through init function 2015-12-30 01:29:29 +02:00
Roman Hotsiy
1c4a3ca20f make scrollYOffset option consume selector and function 2015-12-27 01:02:17 +02:00
Roman Hotsiy
db8f9e8a96 options and options parsing mechanism 2015-12-26 23:12:10 +02:00
Roman Hotsiy
7cb76f977e Add sticky sidebar 2015-12-26 19:44:39 +02:00
Roman Hotsiy
032d96cc6f Add link to project to the end of doc 2015-12-24 17:33:12 +02:00
Roman Hotsiy
6f01d61bd4 Fix testcase on Chrome 2015-12-22 18:16:34 +02:00
Roman Hotsiy
61dd2ef18f SIdeMenu test suite 2015-12-22 17:02:03 +02:00
Roman Hotsiy
f4f9a1381e Fix kebab-case issue (after update to beta.0) 2015-12-21 22:29:40 +02:00
Roman Hotsiy
e91b23bee9 Add simple side-menu testcase 2015-12-21 21:41:11 +02:00
Roman Hotsiy
a3d60a3549 refactor and fix side-menu 2015-12-21 21:39:27 +02:00
Roman Hotsiy
8c30bf90c9 Destroy redoc to unbind side-menu handlers 2015-12-21 21:38:14 +02:00
Roman Hotsiy
6276a2cd55 Add destroy handler to BaseComponent 2015-12-21 21:35:57 +02:00
Roman Hotsiy
f5d7ac9236 Add ApiLogo Component that uses x-logo option 2015-12-20 23:34:20 +02:00
Roman Hotsiy
7795ef5b15 Move sidemenu into sidebar 2015-12-20 22:32:20 +02:00
Roman Hotsiy
53f7f3a007 Sort tests by groups 2015-12-19 19:36:28 +02:00
Roman Hotsiy
b06ac81937 Menu component clean up 2015-12-19 19:30:03 +02:00
Roman Hotsiy
0dfac8590e replace window with lang/global 2015-12-19 19:26:23 +02:00
Roman Hotsiy
9f64b6a40d Add one more test to redoc.spec 2015-12-19 17:32:29 +02:00
Roman Hotsiy
b29c49e8d0 Add MethodsList component test suite 2015-12-19 17:19:18 +02:00
Roman Hotsiy
5bc88ebb0f Fix ResponsesList and ResponsesSamples crash on not-specified responses 2015-12-19 17:18:48 +02:00
Roman Hotsiy
d5f529df6f Remove unused json-schema-view 2015-12-19 15:45:47 +02:00
Roman Hotsiy
b275d5af65 Zippy minor update 2015-12-19 14:16:17 +02:00
Roman Hotsiy
68286279f7 refactor tests 2015-12-19 13:36:05 +02:00
Roman Hotsiy
bde8f742a4 comments fix 2015-12-19 02:26:42 +02:00
Roman Hotsiy
7d578b85e5 Add JsonPipe to component pipes 2015-12-19 02:24:44 +02:00
Roman Hotsiy
ef968f61f2 minor methods semantic fix 2015-12-19 02:24:25 +02:00
Roman Hotsiy
50d9213c6e Very basic redoc component test 2015-12-19 00:59:29 +02:00
Roman Hotsiy
1513f21637 ApiInfo component spec 2015-12-18 10:36:01 +02:00
Roman Hotsiy
36c51dee3d Migrate tests to jasmine instead of macha (angular testing depends on jasmine) 2015-12-18 10:34:17 +02:00
Roman Hotsiy
66aa19404a Update angular2 to the latest alpha + migrate 2015-12-14 17:20:40 +02:00
Roman Hotsiy
5b32d31d13 Add BaseComponent joinAllOf test suite 2015-12-14 10:18:46 +02:00
Roman Hotsiy
54461e3582 Throw errors for incorrect or not-supported allOfs 2015-12-14 10:18:15 +02:00
Roman Hotsiy
0c6ded776a Add extra testcase to base.dereference test suite 2015-12-13 00:04:27 +02:00
Roman Hotsiy
b67c3e8d50 Add testsuite for BaseComponent 2015-12-12 22:13:26 +02:00
Roman Hotsiy
406a9ddb21 use copy of referenced schema in dereference 2015-12-12 22:12:51 +02:00
Roman Hotsiy
8d91427206 getMethodParams param semantic fix 2015-12-12 17:29:50 +02:00
Roman Hotsiy
9662ad7b1e Rename x-secondaryTag to x-traitTag 2015-12-01 00:29:01 +02:00
Roman Hotsiy
d30a2c5529 Add get-url link to tag headers 2015-11-29 19:24:46 +02:00
Roman Hotsiy
d1fa83f018 Scroll relatively to the first scrollable parent 2015-11-29 19:18:01 +02:00
Roman Hotsiy
008b73872a Minor side-menu ui fix 2015-11-29 17:19:23 +02:00
Roman Hotsiy
3b5cd1068b minor code improvement 2015-11-29 17:06:08 +02:00
Roman Hotsiy
2eabd2b333 Display simple schema + update format display 2015-11-29 17:02:54 +02:00
Roman Hotsiy
f44ded1e86 uncomment changeDetection spec in redoc 2015-11-29 13:37:19 +02:00
Roman Hotsiy
667af8f2e4 Improved scrolling performance 2015-11-29 12:47:42 +02:00
Roman Hotsiy
9979fab0ab JsonSchema fix issues with subschemas resolving 2015-11-29 12:04:28 +02:00
Roman Hotsiy
f964465513 display array schema 2015-11-28 00:44:35 +02:00
Roman Hotsiy
9d096732fa Minor UI fix 2015-11-27 22:15:07 +02:00
Roman Hotsiy
944d3a5beb Update method delimiter line 2015-11-27 22:05:14 +02:00
Roman Hotsiy
739f6e814b Get link icon show on header hover 2015-11-27 01:13:09 +02:00
Roman Hotsiy
b35abeb330 Fix minor hash scroll menu sync issue 2015-11-27 00:50:49 +02:00
Roman Hotsiy
313c62cb2e Add methods links 2015-11-27 00:43:01 +02:00
Roman Hotsiy
32681bdfba fix menu sync positioning 2015-11-26 23:30:13 +02:00
Roman Hotsiy
96418ba54d Side menu styling 2015-11-26 22:06:54 +02:00
Roman Hotsiy
917fd7632b Merge sidemenu cat into sidemenu 2015-11-26 21:39:23 +02:00
Roman Hotsiy
442fc65209 Add "response schema" label 2015-11-26 21:21:38 +02:00
Roman Hotsiy
79534e2987 Add header info to responses 2015-11-26 00:36:07 +02:00
Roman Hotsiy
f538d15ece Resolve allOf in JsonSchema component 2015-11-25 01:51:54 +02:00
Roman Hotsiy
743f270feb Add message for non-implemented schemas 2015-11-24 00:13:27 +02:00
Roman Hotsiy
a0b66655bf Add own JsonSchema to responses 2015-11-24 00:08:55 +02:00
Roman Hotsiy
f9382ea9b5 update response list to use zippy 2015-11-23 22:57:49 +02:00
Roman Hotsiy
16570984e0 carry out statusCodeType detection 2015-11-23 22:27:55 +02:00
Roman Hotsiy
4a53a35770 Move tabs component 2015-11-23 21:54:20 +02:00
Roman Hotsiy
91f07655e7 responses samples styling 2015-11-22 22:34:40 +02:00
Roman Hotsiy
166af1ffb3 Refactor tree lines css 2015-11-22 20:04:18 +02:00
Roman Hotsiy
a78dd4a0ab Add _variables.scss and start stylesheets refactoring 2015-11-22 15:46:12 +02:00
Roman Hotsiy
5bf1e62c75 Rename css into scss 2015-11-22 14:08:28 +02:00
Roman Hotsiy
09f9264089 Fix schema tree lines 2015-11-19 23:49:17 +02:00
Roman Hotsiy
af4f21726a JsonSchema treat array of objects 2015-11-18 23:52:55 +02:00
Roman Hotsiy
54b3ef1223 chane line width to 1px 2015-11-18 23:31:36 +02:00
Roman Hotsiy
7c8edb04e4 create own basic json-schema viewer 2015-11-18 23:30:59 +02:00
Roman Hotsiy
90381d2e9d Add injecting orig ref while dereferencing 2015-11-18 23:18:51 +02:00
Roman Hotsiy
7418372e60 Fix crash on undefined tag 2015-11-18 20:34:06 +02:00
Roman Hotsiy
dc01ad9556 update tags style 2015-11-17 01:43:05 +02:00
Roman Hotsiy
a825d98a4d Filtered main tags from tags list 2015-11-17 01:34:13 +02:00
Roman Hotsiy
7195c1c9e4 update parameters design 2015-11-17 01:12:42 +02:00
Roman Hotsiy
1d5aedfdc4 minor update styiling 2015-11-17 00:03:49 +02:00
Roman Hotsiy
540a050eaa Prepend api url to paths 2015-11-17 00:03:09 +02:00
Roman Hotsiy
221c40f615 Update menu css afteZ moving 2015-11-16 01:21:52 +02:00
Roman Hotsiy
77a9b4e1dc Move side menu into root tree 2015-11-16 01:10:04 +02:00
Roman Gotsiy
0e2b8aa6f5 minor styling 2015-10-30 12:25:45 +02:00
Roman Gotsiy
1aebffd06a side menu minor fix 2015-10-30 11:51:29 +02:00
Roman Gotsiy
e6a1fde2e4 Improve side-menu sync 2015-10-30 11:44:40 +02:00
Roman Gotsiy
7783d8dc17 Add tag list to method 2015-10-30 11:43:51 +02:00
Roman Gotsiy
29677bbd64 x-secondaryTag and menu-sync 2015-10-30 10:26:23 +02:00
Roman Gotsiy
37030ecbc1 Handle tags without methods 2015-10-28 23:49:31 +02:00
Roman Gotsiy
b56c170d3a Styling for tags 2015-10-28 23:37:16 +02:00
Roman Gotsiy
40ec886f7d Group methods by tag; add tag and description 2015-10-28 23:22:12 +02:00
Roman Gotsiy
f8590bb4dd default es6 export + REDOC_COMPONENTS 2015-10-27 19:44:08 +02:00
Roman Gotsiy
c7bc6ff391 Add body sample to the right panel 2015-10-25 13:26:38 +02:00
Roman Gotsiy
90f304304c Display descriptions as GFM (closes #2) 2015-10-23 12:03:47 +03:00
Roman Gotsiy
87dd150a93 Change ugly side-panel color-schema 2015-10-22 22:45:11 +03:00
Roman Gotsiy
9523f77f1c no sample message removed for falsy objects 2015-10-22 21:55:17 +03:00
Roman Gotsiy
f7958644cb Table sizing minor fixes 2015-10-22 21:50:26 +03:00
Roman Gotsiy
b07fd26647 response samples only for responses with samples or schema 2015-10-22 21:31:12 +03:00
Roman Gotsiy
823add877b display temp error message for unsupported schema 2015-10-22 21:30:20 +03:00
Roman Gotsiy
d6defae7e7 Add responses samples to method 2015-10-22 20:54:26 +03:00
Roman Gotsiy
258a64daf8 Added responses samples component 2015-10-22 20:53:07 +03:00
Roman Gotsiy
e46eca92b6 fix incorrect cell order body-param 2015-10-21 17:26:06 +03:00
Roman Gotsiy
d8e4063677 Add 200 response schema sample 2015-10-21 17:24:04 +03:00
Roman Gotsiy
5e207b343c Moved dereference to base class 2015-10-21 17:22:22 +03:00
Roman Gotsiy
c3efcf6756 right panel width 50% -> 40% 2015-10-21 14:46:15 +03:00
Roman Gotsiy
1892ac4b00 n/a label for missing response schema 2015-10-21 14:11:35 +03:00
Roman Gotsiy
1ac727290f Added rigth panel 2015-10-21 14:07:22 +03:00
Roman Gotsiy
2d039f5740 Minor ui fix 2015-10-21 12:35:20 +03:00
Roman Gotsiy
5c49fc49f0 Unify params table for no-params case 2015-10-21 12:25:51 +03:00
Roman Gotsiy
93d7d98ad7 Added responses list 2015-10-21 12:20:14 +03:00
Roman Gotsiy
8c54d83ee8 Minor styling 2015-10-18 20:16:40 +03:00
Roman Gotsiy
bcb2fdaea8 Updated menu styling 2015-10-18 19:46:21 +03:00
Roman Gotsiy
753cfdb8fd Fix menu for cases method has more than one tag 2015-10-18 19:32:11 +03:00
Roman Gotsiy
211cf2c38a Change param-list to a table 2015-10-18 12:29:18 +03:00
Roman Gotsiy
afd42a955a Add missing title injecting to Schema 2015-10-18 12:28:48 +03:00
Roman Gotsiy
55d05b3e03 Open only first level of schema 2015-10-17 23:31:01 +03:00
Roman Gotsiy
3a61d252d3 Renamed bindings into providers 2015-10-17 21:56:43 +03:00
Roman Gotsiy
094c42f07a Displaying in-body param schema 2015-10-17 21:13:14 +03:00
Roman Gotsiy
aa04a7c01c Added JsonSchemaView component 2015-10-17 21:03:08 +03:00
Roman Gotsiy
b98cfa8280 Added side-menu click actions 2015-10-15 21:35:05 +03:00
Roman Gotsiy
cb16c5d8d3 Added side-menu to demo page 2015-10-15 20:06:33 +03:00
Roman Gotsiy
72795c6431 Implemented side-menu component 2015-10-15 20:06:16 +03:00
Roman Gotsiy
01990f265a Fixed parameters list issues 2015-10-10 16:49:10 +03:00
Roman Gotsiy
b30bf98402 Added simple paramaters list 2015-10-10 16:01:41 +03:00
Roman Gotsiy
ff437c9b00 Added some styling 2015-10-10 15:34:46 +03:00
Roman Gotsiy
a2fe4c9ca4 Moved duplicated code into base class/decorator 2015-10-09 23:19:35 +03:00
Roman Gotsiy
c8d04cc1fa Added extra linting options 2015-10-09 10:50:02 +03:00
Roman Gotsiy
cf7391e5d9 Renamed JsonPointer.dirName to baseName 2015-10-09 08:31:09 +03:00
Roman Gotsiy
fce4ca1b9f Renamed RedocInfo to ApiInfo 2015-10-08 23:27:02 +03:00
Roman Gotsiy
3d1b529222 Added few basic components 2015-10-08 23:21:51 +03:00
Roman Gotsiy
920c5c0497 Schema loader and Schema Info component 2015-10-07 12:52:57 +03:00