Commit Graph

161 Commits

Author SHA1 Message Date
Roman Hotsiy
7bf8c1e852
Minor ui fix: space between range and requird 2016-07-15 20:20:24 +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
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
f0fe212c24
Update file produces/consumes look 2016-07-01 18:10:01 +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
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
0b0f28cd4a
Implement expanding subschemas (fixes #56) 2016-06-29 18:02:19 +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
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
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
65bc8ef4e5 Migrate to Typescript (not finished yet) 2016-05-25 18:34:31 +03:00
Roman Hotsiy
18c3f605a0 Minor refactoring in json-schema-lazy 2016-05-20 19:28:16 +03:00
Roman Hotsiy
269f535d7f Default values (only for primitive types) 2016-05-18 22:24:34 +03:00
Roman Hotsiy
b9bc3f2eab Change detection optimizations 2016-05-18 17:16:29 +03:00
Roman Hotsiy
547cf0ceab Add type:file support for payloads 2016-05-16 23:02:34 +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
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
9d13b702b3 Update agnular to the latest beta 2016-04-29 22:57:24 +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
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
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
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
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
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
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
cac8594f1c fonts improvements 2016-03-14 23:15:32 +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
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
Roman Hotsiy
8c52af3829 Fix hardcoded column witdth 2016-02-27 23:32:26 +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
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
ea6df01bfd Cache same schema views 2016-02-07 16:11:15 +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
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
91e7af2b9d schema samples highlighting + collapsability 2016-01-23 23:35:44 +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
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
3058b3b902 add html5 doctype and fix strictmode issues 2016-01-12 01:26:47 +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
da019894be Change warning to error 2016-01-09 22:37:01 +02:00
Roman Hotsiy
f4f9a1381e Fix kebab-case issue (after update to beta.0) 2015-12-21 22:29:40 +02:00
Roman Hotsiy
66aa19404a Update angular2 to the latest alpha + migrate 2015-12-14 17:20:40 +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
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