Commit Graph

671 Commits

Author SHA1 Message Date
Roman Hotsiy
ef1b2bd19e
fix: menu items not full-width when short item names 2017-05-05 12:45:25 +03:00
Roman Hotsiy
e7130d2d04
feat: add triangle icon for expandable menu items 2017-05-05 12:45:25 +03:00
Roman Hotsiy
583c5719db
fix: openapi button add download attribute 2017-05-05 12:45:25 +03:00
Joe Honzawa
6edbbe7b0c fix: Slugifying non-ascii headers make duplicate permalinks (#264) 2017-05-03 11:01:53 +03:00
Roman Hotsiy
0341db4559
feat: clear button (x) in search box 2017-04-25 10:41:09 +03:00
Roman Hotsiy
6b363a5f44
fix: typo in download button classname (thanks @dwilding) 2017-04-25 10:36:35 +03:00
Roman Hotsiy
c6f351ea36
chore: export more from redoc.module 2017-04-23 18:01:24 +03:00
Roman Hotsiy
2d6ab83f70
chore: fix lint 2017-04-23 18:00:36 +03:00
Roman Hotsiy
cbce5c49ce
refactor: minor html cleanup 2017-04-23 16:12:00 +03:00
Roman Hotsiy
cdeee6740d
feat: add perfect-scrollbar for side menu 2017-04-23 16:10:32 +03:00
Roman Hotsiy
8a49fb30de
feat: SideMenu to support items template as a parameter 2017-04-23 15:44:41 +03:00
Roman Hotsiy
838f23380c
fix: subscription leak in side-menu 2017-04-23 15:43:56 +03:00
Roman Hotsiy
2409577e2f
refactor: minor css cleanup 2017-04-23 15:43:08 +03:00
Roman Hotsiy
328ae639d7
refactor: change hardcoded value with variable 2017-04-23 15:42:01 +03:00
Roman Hotsiy
74a319393c
feat: new option path-in-middle-panel 2017-04-23 15:39:36 +03:00
Roman Hotsiy
1a29784200
refactor: add type heading to menu items 2017-04-23 15:36:00 +03:00
Roman Hotsiy
c77e1a28f7
fix: ReDoc removes path if site is using history API
closes #257
2017-04-23 15:31:08 +03:00
Roman Hotsiy
388b3d48d5
feat: emphasize path with primary color in servers dropdown 2017-04-23 15:28:57 +03:00
Roman Hotsiy
9248cc2490
fix: endpoint link doesn't expand when click on arrow 2017-04-23 15:27:38 +03:00
Roman Hotsiy
2760a3410b
fix: remove trailing slash from url when use x-servers 2017-04-23 15:26:15 +03:00
Roman Hotsiy
bb3667d5d6
feat: add GH-like anchors to h1 and h2 headings in md 2017-04-23 15:23:20 +03:00
Roman Hotsiy
476d6c44fe
fix: don't show download button if initialized with an object 2017-04-23 15:22:04 +03:00
Roman Hotsiy
0f6f0359d9
fix: markdown block text color 💅
closes #255
2017-04-20 18:24:11 +03:00
Roman Hotsiy
61fd42698d
new: http verb badges in search results 2017-04-19 13:43:17 +03:00
Roman Hotsiy
9c4bc5944f
chore: uncomment uglify + fix lint 2017-04-19 12:46:51 +03:00
Roman Hotsiy
c41f56d33c
chore: fix tests 2017-04-19 12:42:42 +03:00
Roman Hotsiy
7e36a9ba12
chored: add missing variables 2017-04-19 12:42:42 +03:00
Roman Hotsiy
7a09b4ac11
chore: disable authentication auto adding (part 2) 2017-04-19 12:42:42 +03:00
Roman Hotsiy
b265e85927
chore: add exports 2017-04-19 12:42:09 +03:00
Roman Hotsiy
4839b3ce69
chore: operation list minor refactor 2017-04-19 12:42:09 +03:00
Roman Hotsiy
6077cc6afd
fix: don't show contact if it is empty object 2017-04-19 12:42:09 +03:00
Roman Hotsiy
00b304a4be
new: option to disable authentication auto adding 2017-04-19 12:42:09 +03:00
Roman Hotsiy
0ee1476590
MenuService refactoring 2017-04-19 12:42:09 +03:00
Roman Hotsiy
92eec250e6
new: Add verbs badges (implements #61) 2017-04-19 12:42:09 +03:00
Roman Hotsiy
3f48357e39
chore: module build + export services 2017-04-19 12:42:09 +03:00
Vincent Giersch
303b49e918 fix: ul missing css 2017-04-18 11:56:19 +03:00
Roman Hotsiy
4f4e7489ce
fix: use replace state instead of pushState
fixes #244
2017-03-31 19:53:03 +03:00
Roman Hotsiy
b9740bfe55
refactor: renamve Method to Operation 2017-03-30 15:18:26 +03:00
Roman Hotsiy
aaac434ebb
fix: add safeguard for undefined
closes #236
2017-03-29 13:30:55 +03:00
Roman Hotsiy
6aa3a7d863
fix: view errors were not reported 2017-03-29 13:29:54 +03:00
Roman Hotsiy
a9cad1994b
fix: code block formatting in markdown list
closes #242
2017-03-29 11:29:54 +03:00
Roman Hotsiy
2d7d4d3409
fix: fix anchor links accidentally broken 2017-03-29 11:25:30 +03:00
Roman Hotsiy
d52c7ef8a0
fix: update content-projector to latest ng4 2017-03-29 10:55:51 +03:00
Roman Hotsiy
abae4c03c3
chore: fix tests 2017-03-15 17:53:25 +02:00
Roman Hotsiy
bed15dddc6
chore: upgrade to angular 4.x 2017-03-15 17:53:25 +02:00
Roman Hotsiy
9e0283849a Merge pull request #227 from brendo/support-x-examples-request
Support x-examples vendor extension for requests
2017-03-13 09:15:57 +02:00
Brendan Abbott
34390359b6 Merge branch 'development' into support-x-examples-request 2017-03-10 10:49:19 +10:00
Roman Hotsiy
17fb7bad27
fix: support discriminator with parent type
closes #220
2017-03-10 00:34:08 +02:00
Roman Hotsiy
e4f5388076
fix: do not hang when swagger doesn't contain any paths
closes #216
2017-03-09 23:04:15 +02:00
Roman Hotsiy
3e09b0588a
fix: broken search after previous fixes 2017-03-09 22:37:17 +02:00
Roman Hotsiy
d99f2562ac
feat: support for OpenAPI object as a parameter for init
closes #224
2017-03-09 21:00:45 +02:00
Roman Hotsiy
1e96f88ea8
fix: redoc hangs when indexing recursive discriminator-based definitions
closes: #228
2017-03-09 19:59:59 +02:00
Roman Hotsiy
64e5741f67
fix: optimize and support inherited discriminator 2017-03-09 19:59:49 +02:00
Roman Hotsiy
193f4bfb44
fix: wrong warnings for $ref not single
closes #221
2017-03-09 19:58:13 +02:00
Roman Hotsiy
4899f3e08f
fix: x-extendedDiscriminator not working
closes #217
2017-03-09 19:57:55 +02:00
Roman Hotsiy
e99d66d9dd
feat: copy pretty-printed JSON
closes #219
2017-03-09 18:42:39 +02:00
Brendan Abbott
3c569cde6e Support x-examples vendor extension for requests 2017-03-09 20:55:23 +10:00
Brendan Abbott
e72471feab Allow JSON-like examples to be shown, which supports things like JSON API 2017-03-06 17:54:52 +10:00
Roman Hotsiy
929740ab28
fix: clear page fragment when scroll to the beginning 2017-03-01 00:01:42 +02:00
Roman Hotsiy
fb3ca07d6e
fix: show warning for non-used in tagGroup tags
closes #215
2017-02-28 22:03:03 +02:00
Roman Hotsiy
69c7d983fb
fix: improve x-servers dropdown animation performance 2017-02-27 18:37:38 +02:00
Roman Hotsiy
6643d09a3a
fix: code samples language sync broken 2017-02-27 16:27:57 +02:00
Roman Hotsiy
c1dbb81aac
fix: broken code samples tabs in IE 2017-02-27 16:06:05 +02:00
Roman Hotsiy
c5b6ac47ac
chore: remove console.log 2017-02-27 16:05:33 +02:00
Roman Hotsiy
66c06b30b9
feat: update fragment while scrolling and on menu clicks
closes #138, #202
2017-02-27 13:13:38 +02:00
Roman Hotsiy
c724df48f4
feat: new option required-props-first
closes #191
2017-02-27 13:12:53 +02:00
Roman Hotsiy
fa9b634126
Revert "fix: remove unused hide-hostname option"
This reverts commit 7031176330.
2017-02-26 01:59:18 +02:00
Roman Hotsiy
8472045945
fix: long paths break EndpointLink ui 2017-02-26 01:25:53 +02:00
Roman Hotsiy
7031176330
fix: remove unused hide-hostname option
(unused since eba219e)
2017-02-26 01:00:23 +02:00
Roman Hotsiy
accd01659d
fix: do not crash if version is not string
closes #208
2017-02-26 01:00:23 +02:00
Roman Hotsiy
9d0dd25f30
feat: Color of "default" Response depends on other successful responses are specified
closes #197
2017-02-26 01:00:22 +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
fd49082db2
feat: Add support for x-servers 2017-02-26 00:59:49 +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
b43a87d627
feat: autoscroll menu
implements #88
2017-02-14 14:39:03 +02:00
Roman Hotsiy
088dad8dca
chore: update dependencies 2017-02-14 12:01:09 +02:00
Roman Hotsiy
4acfc11148
fix: response samples - render description as markdown
fixes #190
2017-02-14 11:18:59 +02:00
Roman Hotsiy
77bc3c44fc
fix: take snapshot of schema to not overwrite inlined references
fixes #203
2017-02-14 10:49:42 +02:00
Roman Hotsiy
a5c03abbe4
fix: Fix extra slash if basePath is not present
fixes #201
2017-02-14 09:49:58 +02:00
Roman Hotsiy
5f909cac47
Add safe guards array without items (fixes #199) 2017-02-09 15:31:28 +02:00
Roman Hotsiy
ee36392164
Fix toggle icon width on IE (fixes #198) 2017-02-07 23:24:13 +02:00
Roman Hotsiy
6fcee29b54
Fix crash trying to index empty tags list 2017-02-02 23:35:06 +02:00
Roman Hotsiy
05be7561f0
Undeprecate x-traitTag 2017-02-02 23:24:00 +02:00
Roman Hotsiy
a2d355a981
Fix tests 2017-02-02 23:13:41 +02:00
Roman Hotsiy
076fca15a4
Render externalDocs (resolves #103) 2017-02-02 23:13:41 +02:00
Roman Hotsiy
a93cd49123
Fix wrapping problem (fixes #185) 2017-02-02 23:13:41 +02:00
Roman Hotsiy
9b6a97fc64
Fix latest empty menu-items not getting active (#194) 2017-02-02 23:13:41 +02:00
Roman Hotsiy
555767feb5
Search fixes 2017-02-02 23:13:40 +02:00
Roman Hotsiy
82575d6a77
Fix tests + don't crash on non-existing menu-items 2017-02-02 23:13:40 +02:00
jsmartfo
d9bec1bd6a
fix(heading): fix for headings render making failsafe, adding test, adjusting some commentary and spelling/typos 2017-02-02 23:13:40 +02:00
Roman Hotsiy
c4f25cc53d
Index description 2017-02-02 23:13:40 +02:00
Roman Hotsiy
7fa850b41d
Refactor markdown headings parsing 2017-02-02 23:13:40 +02:00
Roman Hotsiy
1ff87ce665
More Swagger Typings + index headers 2017-02-02 23:13:40 +02:00
Roman Hotsiy
71edfafae2
Minor redoc-search ui-fixes 2017-02-02 23:13:40 +02:00
Roman Hotsiy
072ab15cae
Redoc search styling 2017-02-02 23:13:40 +02:00
Roman Hotsiy
b8a96e25fe
fix tests 2017-02-02 23:13:40 +02:00
Roman Hotsiy
68a2430da4
Fix using old Zippy option 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
6e13acbc64
Index and search inside discriminator 2017-02-02 23:13:40 +02:00