Commit Graph

143 Commits

Author SHA1 Message Date
Roman Hotsiy
6e13acbc64
Index and search inside discriminator 2017-02-02 23:13:40 +02:00
Roman Hotsiy
86f3a895a3
Index parameters 2017-02-02 23:13:40 +02:00
Roman Hotsiy
e1ce5ea316
Basic Indexing + search 2017-02-02 23:13:40 +02:00
Roman Hotsiy
21a3ab0b1f
minor fix in maker serivce 2017-02-02 23:13:40 +02:00
Roman Hotsiy
e164590fca
Expanding nested schemas by absolute pointer 2017-02-02 23:13:40 +02:00
Roman Hotsiy
46f6b29547
Lazy search highlight + basic search 2017-02-02 23:13:39 +02:00
Roman Hotsiy
899c2b8398
Add a few tests + remove unused code 2017-01-07 18:05:08 +02:00
Roman Hotsiy
3c0d7301c8
Minor fix in menu 2017-01-06 12:56:24 +02:00
Roman Hotsiy
0d3580e21f
Add warnings for non-used or non-existing tags in groups 2017-01-06 12:56:24 +02:00
Gaurav Jain
3eeeb6a3fb Add support for second-level headings from Markdown docs 2016-12-30 13:20:16 -08:00
Roman Hotsiy
84f3aee681
Update tests after refactoring 2016-12-25 19:15:24 +02:00
Roman Hotsiy
cd066904d7
fix lint warnings 2016-12-25 17:16:33 +02:00
Roman Hotsiy
90ae0448eb
Add support for grouping items in menu 2016-12-25 17:14:31 +02:00
Roman Hotsiy
c41ffe8209
Continue menu refactor 2016-12-25 14:24:58 +02:00
Roman Hotsiy
97949a17f9
Adapt menu service and lazy-tasks to new menu strcuture 2016-12-24 11:18:25 +02:00
Roman Hotsiy
de00c7868a
Split menu generation in two stages 2016-12-24 11:18:24 +02:00
Roman Hotsiy
cc8e0f6ba5
Fix linting errors 2016-12-19 17:36:44 +02:00
Roman Hotsiy
104bcb9cef
Fix leaks (fixes #167) 2016-12-19 17:13:39 +02:00
Roman Hotsiy
95f2da8b97
add expand-responses option 2016-12-14 14:49:02 +02:00
Ben Firshman
82b52bf6ef Add display name for tags
In go-swagger, the name of the tag determines the directory that
generated files end up in. Also, we want the tag names to be
consistent with operationIds.

Unfortunately, these make bad names for menu items, so we want
to have a way of specifying human-friendly names for the menu.
2016-12-05 20:58:53 +02:00
Ben Firshman
ab5c3ecf55 Fix typo in filename 2016-12-05 20:58:53 +02:00
Roman Hotsiy
82f4598a5b
Activate first menu item if first cat is headless 2016-12-02 12:53:47 +02:00
Roman Hotsiy
1855d2bd38
Fix linter/tsc errors 2016-12-02 12:11:17 +02:00
Roman Hotsiy
5c6d57ab2c
Fix content projector after angular2 update 2016-12-02 12:11:16 +02:00
Roman Hotsiy
fc46931551
Add lazyRendering option 2016-11-30 13:23:24 +02:00
Roman Hotsiy
833f98167a
Activate virtual and emtpy menu items 2016-11-30 11:55:38 +02:00
Roman Hotsiy
a8b96e8bd1
Fix lint err + enable test 2016-11-30 11:55:38 +02:00
Roman Hotsiy
c0e33bff61
Disable menu items until corresponding content is rendered 2016-11-30 11:55:38 +02:00
Roman Hotsiy
4f79d4950a
Don't initial scroll if hash is empty 2016-11-30 11:55:37 +02:00
Roman Hotsiy
0f580eeed0
Fix tests + other minor fixes 2016-11-30 11:55:37 +02:00
Roman Hotsiy
4208660a6f
Perfromance fix (tests still failing) 2016-11-30 11:55:37 +02:00
Roman Hotsiy
c281c62b36
Fix object to become an array (#146) 2016-11-28 20:03:01 +02:00
Roman Hotsiy
e00dd87921
fix build 2016-11-05 16:25:59 +02:00
Roman Hotsiy
efcb811151
Fix allOf withing array items (fixes #136) 2016-11-05 16:08:39 +02:00
Roman Hotsiy
0a939d1548
Fix crashing on array without items (fixes #104) 2016-11-02 13:39:01 +02:00
Roman Hotsiy
1f64346584
Fix content scrolling on language switch (#130) 2016-11-02 11:37:33 +02:00
Roman Hotsiy
1db46b4501
Fix syntax error 2016-11-02 09:05:00 +02:00
Roman Hotsiy
fe53a3d7d0
add comments 2016-11-02 00:20:01 +02:00
Ben Firshman
2453ffb11b
Add option to hide hostname in method definition
This allows ReDoc to be used for self-hosted tools where the
hostname may not be known.
2016-11-01 11:44:22 -07:00
Roman Hotsiy
1aa9c4a3f2
Fix e2e and unit tests 2016-10-31 20:15:56 +02:00
Roman Hotsiy
ca654511ae
Fix side menu items wrong sync with description headers 2016-10-31 13:34:42 +02:00
Roman Hotsiy
9389d7dc15
Fix unit tests 2016-10-31 10:15:04 +02:00
Roman Hotsiy
b8b3bf328e
Security Definitions + other 2016-10-30 17:58:06 +02:00
Roman Hotsiy
f786955442
Dynamic component instantiator from html 2016-10-30 17:57:26 +02:00
Roman Hotsiy
c95755718f
Get rid of facade/lang deps (fixes #129) 2016-10-29 12:31:56 +03:00
Roman Hotsiy
5583c8a313
Enabled a few codelyzer rules 2016-10-23 20:36:34 +03:00
Roman Hotsiy
17e7bf9fd8
Refactor + minor fixes/optimizations 2016-10-23 20:18:42 +03:00
Roman Hotsiy
ad7b236ef7
fix lint 2016-10-14 12:34:44 +03:00
Roman Hotsiy
04d56f59e1
Fix minimum/maximum zero not rendered (fixes #123) 2016-10-14 12:00:08 +03:00
Roman Hotsiy
0678c4c595
implemented x-extendedDiscriminator to workaround name clashes in big specs 2016-09-28 09:36:21 +03:00
Roman Hotsiy
39db6e8462
Fix schema collapse after change discriminator 2016-09-12 23:54:35 +03:00
Mike Ralphson
fb0defa04c Typo s/IGNORRED/IGNORED 2016-09-08 19:31:17 +01:00
Roman Hotsiy
a14bde334b
Update to latest Angular RC.6 2016-09-02 23:18:43 +03:00
Roman Hotsiy
d3ef8f003c
Fix e2e tests + minor refactoring 2016-09-01 09:54:28 +03:00
Roman Hotsiy
b649d52c39
x-nullable support for non-object schemas 2016-08-31 22:45:59 +03:00
kedashoe
027cdc19c8 support "x-nullable" property 2016-08-31 11:36:18 -07:00
Roman Hotsiy
a7a4a349f0
Fix tests 2016-08-30 20:05:21 +03:00
Roman Hotsiy
2bc729ea23
Fix array inside objects if referenced directly (fixes #84) 2016-08-30 18:49:08 +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
a65ecfa442
Move to webpack + AoT compilation 2016-08-28 21:46:10 +03:00
Roman Hotsiy
5efbd97f3e
Throttle scroll event 2016-08-22 12:18:56 +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
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
46fa6c9686
Fix discriminator/allOf merging issue 2016-07-28 07:51:22 +03:00
Roman Hotsiy
4b61357be0
Warnings on the top of page (fixes #48) 2016-07-27 18:57:23 +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
6c2bfd8dee
Implement Copy/Expand/Collapse buttons 2016-07-17 18:07:51 +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
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
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
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
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
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
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
7380f89482 fix mobile nav 2016-05-17 19:38:12 +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