Commit Graph

318 Commits

Author SHA1 Message Date
Roman Hotsiy
4acae04d96 Animate loading message 2016-02-07 16:11:58 +02:00
Roman Hotsiy
ea6df01bfd Cache same schema views 2016-02-07 16:11:15 +02:00
Roman Hotsiy
fa81187e10 Use operationId in links; fixes #14 2016-02-07 16:10:32 +02:00
Roman Hotsiy
7f57558225 fixed #12: schema representation on Safari 2016-02-06 18:02:10 +02:00
Roman Hotsiy
e861ae9add Display enums info 2016-02-06 17:00:36 +02:00
Roman Hotsiy
fae59c7917 Fix path params rendering 2016-02-04 11:49:00 +02:00
Roman Hotsiy
4ae4e4db4f descriminator minor ui fix 2016-02-03 18:50:02 +02:00
Roman Hotsiy
620d206ac8 Synchronize code samples tabs #20 2016-02-03 16:55:37 +02:00
Roman Hotsiy
860eb30c48 Code sample ui fix 2016-02-01 14:54:58 +02:00
Roman Hotsiy
fb7c2d160f Update tests 2016-02-01 14:47:45 +02:00
Roman Hotsiy
30fee46cfb Add RequestSamples component 2016-01-31 19:38:01 +02:00
Roman Hotsiy
5fd757076c Add prism.js pipe 2016-01-31 19:37:35 +02:00
Roman Hotsiy
6fb7bd0ba6 Fix sticky sidebar when scroll parent is not window 2016-01-26 20:26:20 +02:00
Roman Hotsiy
b6e15322ca fix disableLazySchemas option 2016-01-24 22:00:27 +02:00
Roman Hotsiy
556aeeb6da disableLazySchemas option + tests fixes 2016-01-24 21:27:15 +02:00
Roman Hotsiy
159a4c5e68 optimization: lazy loading hidden-on-init schemas 2016-01-24 19:02:02 +02:00
Roman Hotsiy
deed1272fc add loading animation 2016-01-24 19:01:17 +02:00
Roman Hotsiy
91e7af2b9d schema samples highlighting + collapsability 2016-01-23 23:35:44 +02:00
Roman Hotsiy
4c4e0a17ed Fix dereference issue caused by invalid circular refs checking 2016-01-23 18:23:24 +02:00
Roman Hotsiy
d805cba782 Fix nested schema representation issues 2016-01-23 17:49:44 +02:00
Roman Hotsiy
31e6a1b543 schema types coloring 2016-01-23 16:29:34 +02:00
Roman Hotsiy
6ebca9d46c Handle parameter types without type (fixes #8) 2016-01-23 16:01:10 +02:00
Roman Hotsiy
31bdc657af markdown lists/images styling 2016-01-23 15:07:08 +02:00
Roman Hotsiy
19b19041eb markdown blockquote styling 2016-01-23 14:53:10 +02:00
Roman Hotsiy
e67ab9c3ea Ensure markdown style is not applied to other elements 2016-01-23 12:15:09 +02:00
Roman Hotsiy
f407d656f1 markdown table styling 2016-01-23 01:27:46 +02:00
Roman Hotsiy
4d0ab0dc16 improve styling: get rid of bold in headers 2016-01-23 00:17:36 +02:00
Roman Hotsiy
a9d1ed1d54 fix mobilenav paddings 2016-01-23 00:03:05 +02:00
Roman Hotsiy
0fb88e99c2 Preserve redoc element params after dispose 2016-01-22 23:30:06 +02:00
Roman Hotsiy
825bf111f8 Responsive sidemenu 2016-01-21 17:26:54 +02:00
Roman Hotsiy
ccac2ee15c refactor sticky-sidebar as directive 2016-01-21 00:11:30 +02:00
Roman Hotsiy
f64d4180a6 Basic responsiveness 2016-01-20 18:02:13 +02:00
Roman Hotsiy
0f1348da99 Merge branch 'master' of github.com:Rebilly/ReDoc 2016-01-20 17:41:40 +02:00
Roman Hotsiy
dda84eb118 Redoc autoinit 2016-01-20 17:05:43 +02:00
Roman Hotsiy
5f34a700a3 Redoc dispose testcase 2016-01-20 16:52:31 +02:00
Adam Altman
76836d0539 Fix typo in api-info spec 2016-01-20 07:50:11 -06:00
Roman Hotsiy
0712297ba5 Fix tests 2016-01-17 21:50:42 +02:00
Roman Hotsiy
a8f9fca8a5 Fix sticky sidebar test 2016-01-17 20:55:49 +02:00
Roman Hotsiy
d3de7b2e9f Fix sticky sidebar 2016-01-17 20:00:18 +02:00
Roman Hotsiy
cf4eabd9cb IE compatibility fix 2016-01-17 18:29:48 +02:00
Roman Hotsiy
accc44f0ea Optimise dereference + add warn 2016-01-17 00:32:50 +02:00
Roman Hotsiy
abfd363401 Temporal referencing fix 2016-01-16 23:25:12 +02:00
Roman Hotsiy
abefb06dd5 schema ui fixes 2016-01-16 23:24:05 +02:00
Roman Hotsiy
afb9f6b1ed Handle circular references 2016-01-16 00:44:10 +02:00
Roman Hotsiy
1fc5be3296 add error message 2016-01-15 22:43:18 +02:00
Roman Hotsiy
a81caaf8ad Dispose redoc on reload 2016-01-15 19:01:09 +02:00
Roman Hotsiy
7f5482d2aa Fix crash for methods without tags 2016-01-15 17:08:25 +02:00
Roman Hotsiy
f608fbb3bd Run angular in prodMode 2016-01-15 17:07:44 +02:00
Roman Hotsiy
daa6ed8755 change unicode characters to html entities 2016-01-12 01:36:49 +02:00
Roman Hotsiy
3058b3b902 add html5 doctype and fix strictmode issues 2016-01-12 01:26:47 +02:00
Roman Hotsiy
50ea735e7b move redoc-related styling into redoc css 2016-01-12 01:26:00 +02:00
Roman Hotsiy
e57cda256c Redesign discriminator UI 2016-01-10 17:29:35 +02:00
Roman Hotsiy
26b9bbc4ae Discriminator support 2016-01-09 22:37:01 +02:00
Roman Hotsiy
c2e712b039 Isolated each component schemas 2016-01-09 22:37:01 +02:00
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
ba2571a446 Implemented findDerivedDefs routine 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
7e11eb56e7 Add Redoc init spec 2015-12-22 18:16:57 +02:00
Roman Hotsiy
6f01d61bd4 Fix testcase on Chrome 2015-12-22 18:16:34 +02:00
Roman Hotsiy
794232257b Return promise from init 2015-12-22 18:16:07 +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
a67b3cb8fb Add Tabs component test suite 2015-12-19 15:31:34 +02:00
Roman Hotsiy
dda2b2bbe8 tab active defaults 2015-12-19 15:30:49 +02:00
Roman Hotsiy
efb2a686fd Add projection test to zippy.spec 2015-12-19 15:02:28 +02:00
Roman Hotsiy
c591f75468 Add Zippy component spec 2015-12-19 14:23:20 +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
832d018c1b Fix pipes and testcases 2015-12-14 18:31:17 +02:00
Roman Hotsiy
0a3bbdf0d1 Add error messages to Pipes 2015-12-14 18:14:14 +02:00
Roman Hotsiy
66aa19404a Update angular2 to the latest alpha + migrate 2015-12-14 17:20:40 +02:00
Roman Hotsiy
4af37bbd09 Add extra check to SchemaManager 2015-12-14 15:53:22 +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
4a3d44a9a8 tabs syntax fix 2015-12-13 12:38:39 +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
e39b26a2af Updated eslint 2015-12-12 22:10:59 +02:00
Roman Hotsiy
baa7f27b9b statusCodeType fix 2015-12-12 18:30:13 +02:00
Roman Hotsiy
8d91427206 getMethodParams param semantic fix 2015-12-12 17:29:50 +02:00
Roman Hotsiy
5941973ecf minor update 2015-12-12 13:49:22 +02:00
Roman Hotsiy
9662ad7b1e Rename x-secondaryTag to x-traitTag 2015-12-01 00:29:01 +02:00
Roman Hotsiy
83abbfc486 zippy indicator minor ui fix 2015-11-29 20:04:21 +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
02dbfddc39 ui: Improve zippy title 2015-11-29 18:31:23 +02:00
Roman Hotsiy
008b73872a Minor side-menu ui fix 2015-11-29 17:19:23 +02:00
Roman Hotsiy
5446c573c5 Strip trailing / in api url 2015-11-29 17:14:18 +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
b7aba2b43e Add Zippy component 2015-11-23 22:57:10 +02:00
Roman Hotsiy
1681fb30a3 Fix 400 code type 2015-11-23 22:56:44 +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