Commit Graph

665 Commits

Author SHA1 Message Date
kedashoe
1f53d94053 give type "string" for pipe transforms 2016-08-31 11:23:06 -07:00
Roman Hotsiy
2be02c5aa1
Fix broken order in discriminator dropdowns 2016-08-30 21:29:56 +03:00
Roman Hotsiy
9f83c1c3ad
Fix version render issue 2016-08-30 20:16:06 +03:00
Roman Hotsiy
a7a4a349f0
Fix tests 2016-08-30 20:05:21 +03:00
Roman Hotsiy
a01f9f41a4
Fix sticky sidebar (#75) 2016-08-30 19:35:07 +03:00
Roman Hotsiy
2bc729ea23
Fix array inside objects if referenced directly (fixes #84) 2016-08-30 18:49:08 +03:00
Roman Hotsiy
4f746a19e3
fix warnings changedetection 2016-08-30 18:38:13 +03:00
Roman Hotsiy
1b6c858ab7
Fix minor css issues 2016-08-30 18:24:37 +03:00
Roman Hotsiy
c384163be0
ChangeDetectionStrategy.OnPush for components 2016-08-30 17:07:54 +03:00
Roman Hotsiy
919f0c380d
Fix additionalProperties was broken 2016-08-30 15:50:53 +03:00
Roman Hotsiy
bff4b80845
Change the way discriminator is rendered 2016-08-30 13:51:14 +03:00
Roman Hotsiy
158bd29b9b
default value for options 2016-08-30 13:40:26 +03:00
Roman Hotsiy
e680aeaacf
remove unused file 2016-08-29 18:24:50 +03:00
Roman Hotsiy
27197ffb46
Propagate external options 2016-08-29 07:30:49 +03:00
Roman Hotsiy
a65ecfa442
Move to webpack + AoT compilation 2016-08-28 21:46:10 +03:00
Roman Hotsiy
3aa586cced
Migrate to typescript 2.0 and get rid of typings (fixes #80, #81) 2016-08-28 21:44:11 +03:00
Roman Hotsiy
5efbd97f3e
Throttle scroll event 2016-08-22 12:18:56 +03:00
Roman Hotsiy
379870a1b3
Migrate to angular rc.5 2016-08-22 12:12:13 +03:00
Roman Hotsiy
2e9285e0f0
Revert markdown newlines to become breaks (related to SP-82) 2016-08-21 17:47:33 +03:00
Roman Hotsiy
b77e3c8843
Move license and contact info above description 2016-08-21 17:43:42 +03:00
Roman Hotsiy
b463258170
Remove wrong commited files 2016-08-21 11:14:57 +03:00
Roman Hotsiy
7b16a13427
Fix markdown code blocks in api description 2016-08-21 10:56:29 +03:00
Roman Hotsiy
eb0beda4e6
Fix markdown newlines to be gfm (fixes #82) 2016-08-21 10:17:41 +03:00
Roman Hotsiy
cde5eb534a
Add special representation for enum with one value (fixes #70) 2016-08-12 20:42:41 +03:00
Roman Hotsiy
0b46186585
Render valid JSON in samples (quoted object keys) 2016-08-12 20:42:41 +03:00
Roman Hotsiy
9aea9bc683
Fix API descriptioin width on mobile 2016-08-12 20:42:41 +03:00
Roman Hotsiy
d3d223a344
Refactor schema template 2016-08-12 20:42:41 +03:00
Roman Hotsiy
92f745d10f
Add Tuple support 2016-08-12 20:42:41 +03:00
Roman Hotsiy
ce41ac1380
move initial styles import to the top 2016-08-01 07:23:01 +03:00
Mike Stead
e8f090604c Validate that api scheme is used correctly 2016-08-01 10:26:10 +10:00
Mike Stead
190b5e79f6 Replace const with let to conform to coding style 2016-08-01 09:57:06 +10:00
Mike Stead
51965f94b5 Use api host if schema host is undefined 2016-08-01 09:46:34 +10:00
Roman Hotsiy
d3bbfbf163
Load fonts erlier 2016-07-28 20:17:45 +03:00
Roman Hotsiy
0e354afd20
Fix e2e tests timeouts 2016-07-28 19:59:42 +03:00
Roman Hotsiy
167b272d3e
CSS fixes 2016-07-28 19:59:02 +03:00
Roman Hotsiy
c0f43a3d15
Fix warnings show criteria 2016-07-28 15:57:37 +03:00
Roman Hotsiy
0f2189622e
Fix tag links 2016-07-28 15:57:13 +03:00
Roman Hotsiy
d5651a2cb7
Move Download Swagger button 2016-07-28 15:56:29 +03:00
Roman Hotsiy
9e2fab9108
Make roboto/montserrat fonts part of ReDoc (until styling feature is done) 2016-07-28 15:56:14 +03:00
Roman Hotsiy
c92a743ea8
Remove console.log 2016-07-28 08:57:10 +03:00
Roman Hotsiy
46fa6c9686
Fix discriminator/allOf merging issue 2016-07-28 07:51:22 +03:00
Roman Hotsiy
f98cb9a3fe
Render json-schema constrains for headers (fixes #47) 2016-07-28 07:24:12 +03:00
Roman Hotsiy
4b61357be0
Warnings on the top of page (fixes #48) 2016-07-27 18:57:23 +03:00
Roman Hotsiy
2872ffbcf9
If API supports both HTTP and HTTPS use HTTPS (fixes #72) 2016-07-26 14:51:59 +03:00
Roman Hotsiy
ae0b0f5f14
Deduce type value from validation keywords (fixes #71) 2016-07-26 14:07:25 +03:00
Roman Hotsiy
a5959bdf55
Refactor menu 2016-07-26 12:33:55 +03:00
Roman Hotsiy
205aa6211c
Pull markdown headers from description into side menu 2016-07-21 13:52:56 +03:00
Roman Hotsiy
82f1be1d11
Get rid of prepareModel method. Use init instead 2016-07-20 11:07:08 +03:00
Roman Hotsiy
7967833254
Minor rendering perf improvements 2016-07-17 19:44:58 +03:00
Roman Hotsiy
6c2bfd8dee
Implement Copy/Expand/Collapse buttons 2016-07-17 18:07:51 +03:00
Roman Hotsiy
da9b4ab0b1
Dropdown overflow fix 2016-07-15 23:44:42 +03:00
Roman Hotsiy
8b20b083ea
Fix dropdown UI issue (fixes #64) 2016-07-15 23:28:51 +03:00
Roman Hotsiy
7bf8c1e852
Minor ui fix: space between range and requird 2016-07-15 20:20:24 +03:00
Roman Hotsiy
3f7c3fb40d
Fix crash on methods with no summary, description and operationId 2016-07-15 17:43:23 +03:00
Roman Hotsiy
dcd43e4fc6
Discriminator support for examples (fixes #65) 2016-07-15 17:43:01 +03:00
Roman Hotsiy
17dc1c46df
fix tests 2016-07-10 16:05:28 +03:00
Roman Hotsiy
186ce7ab6f
Update Powered by redoc badge 2016-07-10 15:43:17 +03:00
Roman Hotsiy
b4a8c35be6
Minor perf optimizations 2016-07-10 14:47:34 +03:00
Roman Hotsiy
31e38ac7ec
Fix crash on Firefox 2016-07-10 14:46:24 +03:00
Roman Hotsiy
ad678925f5
Add Response Schema label 2016-07-10 14:45:06 +03:00
Roman Hotsiy
4cf11dceee
Fix borders rendering issues 2016-07-10 14:44:22 +03:00
Roman Hotsiy
135bdbe12f
Expand shevron: make clickable 2016-07-10 14:42:49 +03:00
Roman Hotsiy
7618507cda
Auto expand schema with one element 2016-07-10 14:28:05 +03:00
Roman Hotsiy
ed2a5b46e1
Zippy performance optimization 2016-07-10 13:15:36 +03:00
Roman Hotsiy
ac6c203f24
fix tests 2016-07-01 18:33:42 +03:00
Roman Hotsiy
060119673f
Fix menutree building 2016-07-01 18:10:13 +03:00
Roman Hotsiy
f0fe212c24
Update file produces/consumes look 2016-07-01 18:10:01 +03:00
Roman Hotsiy
6a8f1e6e21
prepend v to api version 2016-07-01 18:09:42 +03:00
Roman Hotsiy
2d54a67c2c
Make baseUrl darker 2016-07-01 17:26:10 +03:00
Roman Hotsiy
b22b8d2122
Refactor menu generation + handle methods without tags 2016-07-01 17:24:59 +03:00
Roman Hotsiy
4a475677f7
Clean up tests 2016-07-01 16:30:57 +03:00
Roman Hotsiy
81d06316ed
Add trackBy to tags 2016-07-01 16:30:35 +03:00
Roman Hotsiy
a671d2f005
update to the latest angular 2016-07-01 15:53:16 +03:00
Roman Hotsiy
ad52726b90
Fix various JsonSchema rendering bugs 2016-06-30 16:45:53 +03:00
Roman Hotsiy
8d039af839
Fix additionalProperties: true crash 2016-06-29 22:29:05 +03:00
Roman Hotsiy
46a44f3f6c
Attach controler to schemas with subschemas 2016-06-29 19:07:18 +03:00
Roman Hotsiy
7a73ba2ce5
Fix LazySchema tests 2016-06-29 19:06:49 +03:00
Roman Hotsiy
44e52febc6
Zippy UI enhancement 2016-06-29 18:02:29 +03:00
Roman Hotsiy
0b0f28cd4a
Implement expanding subschemas (fixes #56) 2016-06-29 18:02:19 +03:00
Roman Hotsiy
9e1d7768d7
test for transitive dereferencing 2016-06-25 13:58:03 +03:00
Roman Hotsiy
afe9020021
Fix dereferencing 2016-06-25 13:02:13 +03:00
Roman Hotsiy
003fba8651
Refactoring
Rename schemaMgr to specMgr
fix error logs in tests
2016-06-23 17:46:10 +03:00
Roman Hotsiy
85d72d64e3 Update and clean up deps 2016-06-23 11:36:58 +03:00
Roman Hotsiy
53b4f55876 Refactor 2016-06-22 21:53:11 +03:00
Roman Hotsiy
1e97ea655e Refactor + perf optimizations 2016-06-22 19:13:57 +03:00
Roman Hotsiy
43a0872530 bypass sanitization for markdown 2016-06-22 12:45:03 +03:00
Roman Hotsiy
b65370c8ac Replace marked with remarkable 2016-06-22 12:42:24 +03:00
Roman Hotsiy
791355c60a Add simple animations 2016-06-19 17:51:06 +03:00
Roman Hotsiy
54184b9f35 Don't show readOnly fields in request samples (fixes #59) 2016-06-18 21:02:01 +03:00
Roman Hotsiy
d57b96666b fix minor bug ater ts migration 2016-06-18 20:58:50 +03:00
Roman Hotsiy
636f8df664 Merge branch 'typescript-migrate' (fixes #57) 2016-06-17 13:24:59 +03:00
Roman Hotsiy
76f06b1992 Fix coverage 2016-06-16 15:44:14 +03:00
Roman Hotsiy
81701d3cb5 Fix json-schema-ref-parser importing 2016-06-15 23:33:57 +03:00
Roman Hotsiy
854c831154 Fix lint erorrs, fix typescript version 2016-06-15 21:48:04 +03:00
Roman Hotsiy
4f39ab9edc Add tslint 2016-06-13 20:54:24 +03:00
Roman Hotsiy
4498884f62 Migrate tests to TypeScript 2016-06-12 20:44:34 +03:00
Roman Hotsiy
3629e34a5a Continue migrating to TS 2016-06-06 19:32:20 +03:00
Roman Hotsiy
4005d8f61b Proper examples generation: fixes #43 2016-05-29 20:26:20 +03:00
Roman Hotsiy
65bc8ef4e5 Migrate to Typescript (not finished yet) 2016-05-25 18:34:31 +03:00
Roman Hotsiy
6f8ea60da7 Add version getter to ReDoc runtime 2016-05-20 20:36:26 +03:00
Roman Hotsiy
8e6ce26ea6 use json-schema-ref-parser instead of SwaggerParser (fixes #46) 2016-05-20 20:13:39 +03:00
Roman Hotsiy
9c5d002eda Add basic error message (part of #48) 2016-05-20 19:51:25 +03:00
Roman Hotsiy
1d0579f114 Remove debug log messages 2016-05-20 19:29:12 +03:00
Roman Hotsiy
18c3f605a0 Minor refactoring in json-schema-lazy 2016-05-20 19:28:16 +03:00
Roman Hotsiy
1eb38a8701 Enhance loading animation 2016-05-19 10:04:54 +03:00
Roman Hotsiy
a8cd9e3c14 Add Header for response schema 2016-05-18 22:39:09 +03:00
Roman Hotsiy
269f535d7f Default values (only for primitive types) 2016-05-18 22:24:34 +03:00
Roman Hotsiy
a43d725256 Minor UI fix: scroll for too long endpoint url 2016-05-18 22:12:41 +03:00
Roman Hotsiy
b9bc3f2eab Change detection optimizations 2016-05-18 17:16:29 +03:00
Roman Hotsiy
7380f89482 fix mobile nav 2016-05-17 19:38:12 +03:00
Roman Hotsiy
547cf0ceab Add type:file support for payloads 2016-05-16 23:02:34 +03:00
Roman Hotsiy
c228c5473c remove whitespace between root path and method path (fixes #44) 2016-05-10 10:15:16 +03:00
Roman Hotsiy
50a378f3ea Fix changeDetection in Safari 2016-05-10 09:44:44 +03:00
Roman Hotsiy
a1a1739508 Fixed resolving additional properties inside of array 2016-05-10 09:44:26 +03:00
Roman Hotsiy
ed20f784db Update tests 2016-05-09 22:55:16 +03:00
Roman Hotsiy
96fc22d90b moved logick to services 2016-05-07 10:54:44 +03:00
Roman Hotsiy
68e77f9350 more refactor 2016-05-06 12:46:41 +03:00
Roman Hotsiy
d2eca9fcde updated angular to rc + refactor 2016-05-06 00:48:41 +03:00
Roman Hotsiy
a272dacc95 Update angular to the rc 2016-05-05 11:05:02 +03:00
Roman Hotsiy
93ac1516c4 Merge branch 'dropdown-style' 2016-04-30 21:29:37 +03:00
Roman Hotsiy
e8716ab69d Updated tests after angular update 2016-04-30 00:45:53 +03:00
Roman Hotsiy
9d13b702b3 Update agnular to the latest beta 2016-04-29 22:57:24 +03:00
Roman Hotsiy
68ea1576a8 Fix periodical build fails: bundle prism.js to one file in correct order 2016-04-28 22:21:08 +03:00
Roman Hotsiy
b65d8c96e5 Handle additional properties (fixes #4) 2016-04-28 20:17:38 +03:00
Roman Hotsiy
95d257d404 Fix discriminator ui issue 2016-04-28 10:19:39 +03:00
Roman Hotsiy
4bde2f7894 Render max/minCharacters (#42) 2016-04-27 23:07:06 +03:00
Roman Hotsiy
4c923682ba Omit readonly properties in request schemas (part of #42) 2016-04-27 22:34:41 +03:00
Cesar
594d8539a5 DropdownStyle: Added new dropdown sass style 2016-04-25 15:41:08 -04:00
Roman Hotsiy
6b4f1b564e Sort discriminator buttons according to the enum order, fixes #39 2016-04-20 22:04:42 +03:00
Roman Hotsiy
b92ebe388b joinAllOf fix: ref and inline schema case 2016-04-20 19:56:20 +03:00
Roman Hotsiy
4f2e1a29e6 Use dropdown instead of buttons for discriminator switch 2016-04-19 18:56:42 +03:00
Roman Hotsiy
4c450e56b5 Add Dropdown Element 2016-04-19 18:56:42 +03:00
Roman Hotsiy
823c0e60c5 Hanlde empty discriminator 2016-04-13 15:46:41 +03:00
Roman Hotsiy
6d2a49fb13 Minor font-weight fix 2016-04-13 14:26:59 +03:00
Roman Hotsiy
7562bc41f0 Nested schema ui minor fix 2016-04-13 14:23:58 +03:00
Roman Hotsiy
b097f1fdfa Don't show enum info for discriminator field 2016-04-13 14:22:32 +03:00
Roman Hotsiy
fc86c93d87 Fix discriminator end-less recursion 2016-04-13 14:21:56 +03:00
Roman Hotsiy
06e9dd3a0f Fix nested schemas styling (fixes #32) 2016-04-07 21:00:34 +03:00
Roman Hotsiy
6be67940f5 Fix markdown headings 2016-04-07 18:44:41 +03:00
Roman Hotsiy
dbcef5698c Add openapi button simple styling 2016-03-31 19:41:37 +03:00
Roman Hotsiy
cd52d81b46 fix test 2016-03-31 01:15:54 +03:00
Roman Hotsiy
dcd9983ce8 Add download swagger button (#1) 2016-03-31 00:20:31 +03:00
Roman Hotsiy
6004fb0132 Add help messages for different types of parameters (fixes #26) 2016-03-28 00:54:43 +03:00
Roman Hotsiy
ae0ce4ac52 fix test 2016-03-27 20:31:07 +03:00
Roman Hotsiy
b6a711b25d Fix change-detection on Safari/IE 2016-03-27 20:17:28 +03:00
Roman Hotsiy
4ca1bdb5de updated angular2 to the latest beta (beta.12) 2016-03-27 18:25:46 +03:00
Roman Hotsiy
36034d4d1a Minor fix joinAllOf 2016-03-27 13:35:06 +03:00
Roman Hotsiy
422ef513a2 UI fix: extra line at the last object property 2016-03-27 00:45:28 +02:00
Roman Hotsiy
6032355664 Refactor JsonSchema component + improve merging allOf 2016-03-27 00:44:34 +02:00
Roman Hotsiy
8b30653fb0 Fix caching schemas with discriminator 2016-03-27 00:37:56 +02:00
Cesar
cfffc19d4f Merge with master 2016-03-22 13:12:35 -04:00
Roman Hotsiy
35e388583c remove padding from api-logo 2016-03-22 00:43:40 +02:00
Roman Hotsiy
824d790478 Fix allOf referencing array schema 2016-03-22 00:27:59 +02:00
Cesar
1af0d8e54e Discriminator styling 2016-03-18 09:10:29 -04:00
Cesar
5decc3ceb5 merge with origin 2016-03-18 09:06:22 -04:00
Cesar
a87ba13806 Fixes in JSONSchema treem and descriminator 2016-03-17 10:27:45 -04:00
Roman Hotsiy
13286558d0 Add minimum and maximum information for numeric fields (fixes #33) 2016-03-17 01:27:09 +02:00
Roman Hotsiy
ac7116ad04 big refactoring of injectPropertyData method 2016-03-17 00:43:23 +02:00
Roman Hotsiy
95cef711b2 Fix footer and <strong> element styling 2016-03-15 16:10:33 +02:00
Roman Hotsiy
3a6e2c14c4 Nested allOf handling 2016-03-15 16:09:42 +02:00
Roman Hotsiy
e957a92346 allOf merging fixes (fixes #31) 2016-03-15 16:09:16 +02:00
Roman Hotsiy
c498517a23 minor responsiveness fix 2016-03-14 23:25:57 +02:00
Roman Hotsiy
cac8594f1c fonts improvements 2016-03-14 23:15:32 +02:00
Roman Hotsiy
f4ee0fa343 minor fixes 2016-03-14 22:36:32 +02:00
Roman Hotsiy
617d398dee move importing external css files outside the redoc 2016-03-14 22:27:45 +02:00
Roman Hotsiy
ca2c01b8ac Make right panel fill all page 2016-03-14 22:27:07 +02:00
Cesar
a0a209820f JSONSchema tree and table 2016-03-14 15:29:27 -04:00
Roman Hotsiy
2e53b9fa50 Merge branch 'master' into css-changes 2016-03-13 02:49:15 +02:00
Roman Hotsiy
6965e69c8c fix regression 2016-03-13 02:32:57 +02:00
Roman Hotsiy
cf2816987a change look of fields with hint 2016-03-13 01:56:33 +02:00
Roman Hotsiy
9860e31049 JsonSchema: display object without properties as a simple type 2016-03-13 01:56:24 +02:00
Roman Hotsiy
da5224e3e2 add accidentally missed changes 2016-03-09 22:05:22 +02:00
Roman Hotsiy
a496e907ea Fix operation links 2016-03-09 21:54:43 +02:00
Roman Hotsiy
7d7877da2e Fix links with spaces 2016-03-09 20:44:20 +02:00
Roman Hotsiy
0a8440f44b Fix treating refereced schemas with simple types (string, integer) as nested 2016-03-09 20:32:10 +02:00
Roman Hotsiy
8afa4d6c32 Fix treating refereced schemas with simple types (string, integer) as nested 2016-03-09 00:28:55 +02:00
Roman Hotsiy
bfa10bca83 Restyle JSONSchema component 2016-03-09 00:27:19 +02:00
Cesar
8828043eb3 Changes in fonts and definitions 2016-03-08 15:03:05 -05:00
Cesar
06cba79383 Global styles and Menu style 2016-03-02 14:48:55 -05:00
Roman Hotsiy
3f698caabe Fix required for JsonSchema component (fixes #28) 2016-03-02 08:56:09 +04:00
Cesar
d07e2f0026 Work on Request and Response Samples and overall padding 2016-03-01 13:08:02 -05:00
Cesar
2a8ea8f669 First Commit 2016-02-29 17:18:00 -05:00
Roman Hotsiy
8c52af3829 Fix hardcoded column witdth 2016-02-27 23:32:26 +02:00
Roman Hotsiy
07b1b6325c Fix lint error 2016-02-23 13:09:31 +02:00
Roman Hotsiy
97e38b3a95 Group operation parameters by type (fixes #23) 2016-02-23 13:05:59 +02:00
Roman Hotsiy
b87883607e Remove extra use-strict from browser-update 2016-02-19 17:10:11 +02:00
Roman Hotsiy
518321bfd4 Remove test flag from browser-update script 2016-02-18 15:05:45 +02:00
Roman Hotsiy
ce5306f1de Add unsupported browser bar (fixes #17) 2016-02-17 23:45:27 +02:00
Roman Hotsiy
503cbab2f0 Updated angular to beta.6 + fix test 2016-02-16 15:31:12 +02:00
Roman Hotsiy
a7913dec59 Upgrade to Angular 2.0.0-beta.3 + refactoring 2016-02-11 13:38:44 +02:00
Roman Hotsiy
9744cddb16 Update tests after refactoring 2016-02-10 17:18:36 +02:00
Roman Hotsiy
5485df84fe Various refactoring
- renam DOM elements variables to start from $
- use DI for OptionsManager
- move loading styles into separate CSS file
- minor other refactors
2016-02-10 15:48:07 +02:00
Roman Hotsiy
e68054553d Fix build 2016-02-10 13:36:10 +02:00
Roman Hotsiy
3fa43e72cf minor styles update 2016-02-10 13:22:40 +02:00
Roman Hotsiy
db7f500ba0 IE10, IE9 Fixes
Use Reflect.metadate decorator instead of Class.parameters
Add fallback old syntax of flexbox
Other minor styling fixes
2016-02-10 13:19:50 +02:00
Roman Hotsiy
f723240145 Fix tests 2016-02-07 16:59:41 +02:00
Roman Hotsiy
7e4d56c405 IE/Edge ui fixes 2016-02-07 16:55:53 +02:00
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