Commit Graph

52 Commits

Author SHA1 Message Date
Roman Hotsiy
f792273be8
support x-example for parameters
closes #297
2017-08-17 11:26:02 +03:00
Roman Hotsiy
87d9abd62b
fix: enum with single value not shown in non-body params
closes #284
2017-07-02 18:54:51 +03:00
Roman Hotsiy
0ee1476590
MenuService refactoring 2017-04-19 12:42:09 +03:00
Roman Hotsiy
b9740bfe55
refactor: renamve Method to Operation 2017-03-30 15:18:26 +03:00
Roman Hotsiy
c724df48f4
feat: new option required-props-first
closes #191
2017-02-27 13:12:53 +02:00
Roman Hotsiy
d175a4d6ae
feat: show type string with minLength 1 as "non-empty"
closes #192
2017-02-26 01:00:17 +02:00
Roman Hotsiy
e76bcc3329
feat: improved type string with minLength == maxLength
closes #212
2017-02-26 01:00:17 +02:00
Roman Hotsiy
23e7847a67
fix: use items description if not present on top level
fixes: #206
2017-02-15 16:00:39 +02:00
Roman Hotsiy
5f909cac47
Add safe guards array without items (fixes #199) 2017-02-09 15:31:28 +02:00
Roman Hotsiy
1ff87ce665
More Swagger Typings + index headers 2017-02-02 23:13:40 +02:00
Roman Hotsiy
c52703f1ed
Fix search inside circular discriminators 2017-02-02 23:13:40 +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
de00c7868a
Split menu generation in two stages 2016-12-24 11:18:24 +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
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
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
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
0a939d1548
Fix crashing on array without items (fixes #104) 2016-11-02 13:39:01 +02:00
Roman Hotsiy
ca654511ae
Fix side menu items wrong sync with description headers 2016-10-31 13:34:42 +02: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
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
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
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
3f7c3fb40d
Fix crash on methods with no summary, description and operationId 2016-07-15 17:43:23 +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
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