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
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
58ccf3938d
Move some templates + css into separate files
2017-01-07 18:23:08 +02:00
Roman Hotsiy
899c2b8398
Add a few tests + remove unused code
2017-01-07 18:05:08 +02:00
Roman Hotsiy
049094f179
Development tools refactor
...
- common webpack config
- use latest karma-coverage + remap-istanbul
- use webpack-ngc instead of ngc buildstep
- update dev dependencies
- use V8LazyParseWebpackPlugin
2017-01-06 21:38:04 +02:00
Roman Hotsiy
ab14bf4dc9
Fix right panel overlaps site-footer
2017-01-06 13:22:38 +02:00
Roman Hotsiy
067a847716
Bring back side-menu animations
2017-01-06 13:14:47 +02:00
Roman Hotsiy
177bffb1c3
Merge branch 'menu-refactor'
2017-01-06 12:58:15 +02:00
Roman Hotsiy
3c0d7301c8
Minor fix in menu
2017-01-06 12:56:24 +02:00
Roman Hotsiy
1d7e0b0e90
do not capitalize method summuary in level-1 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
Roman Hotsiy
73bfb18282
Fix response list for shared schemas ( fixes #177 )
2017-01-04 14:49:49 +02:00
Gaurav Jain
3eeeb6a3fb
Add support for second-level headings from Markdown docs
2016-12-30 13:20:16 -08:00
Roman Hotsiy
86c0dcbfe1
Support inherited discriminator (only one at the moment)
2016-12-28 14:15:05 +02: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
6a7f0238d3
Update safari workaround
2016-12-25 17:15:01 +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
398aa60a46
Update Method list to work with new menu structure
2016-12-24 11:18:25 +02:00
Roman Hotsiy
ac0681c8a9
Update side menu to work with new menu structure
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
17fd100da4
Uncomment animation after upgrage to latest ng2 ( resolves #162 )
2016-12-22 01:36:04 +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
Roman Hotsiy
03e779c0d1
provide static APP_ID
2016-12-13 08:10:18 +02:00
Roman Hotsiy
bba35337e6
Use markdown for response description ( fixes #158 )
2016-12-13 08:09:27 +02:00
Roman Hotsiy
a3786847d2
Disable side-menu animation (workaround for #162 )
2016-12-12 15:46:36 +02:00
Roman Hotsiy
16aa286c25
Use markdown in responses description ( closes #158 )
2016-12-07 19:27:13 +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
8731adf2a3
Fix regression: side panel overlaps footer
2016-12-02 12:53:09 +02:00
Roman Hotsiy
370b164b5f
Remove some unused declarations
2016-12-02 12:11:17 +02:00
Roman Hotsiy
7d9503d67d
Fix only the first instance of schema was rendered ( fixes #150 )
2016-12-02 12:11:17 +02:00
Roman Hotsiy
f8df377d56
Fix ng animation crash after angular upgrade
2016-12-02 12:11:17 +02:00
Roman Hotsiy
cc4688fd5d
Don't show error screen for runtimes after render finished
2016-12-02 12:11:17 +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
71a48e0de8
UI: Improve paramters spacing
2016-11-30 18:25:52 +02:00
Roman Hotsiy
ad1e1ac272
Fix mmobile menu z-index
2016-11-30 18:17:33 +02:00
Roman Hotsiy
fc46931551
Add lazyRendering option
2016-11-30 13:23:24 +02:00
Roman Hotsiy
e50055286b
Uncomment debug mode
2016-11-30 11:55:38 +02:00
Roman Hotsiy
833f98167a
Activate virtual and emtpy menu items
2016-11-30 11:55:38 +02:00
Roman Hotsiy
932b2c95c9
Fix styling
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
5bd0ac2d11
Fix read-only fields appear in request samples ( fixes #142 )
2016-11-29 21:54:37 +02:00
Roman Hotsiy
c281c62b36
Fix object to become an array ( #146 )
2016-11-28 20:03:01 +02:00
Roman Hotsiy
19bc9227f4
Wrap api version in span with class ( fixes #145 )
2016-11-28 16:18:54 +02:00
Roman Hotsiy
d8f08be770
Add support for collectionFormat
2016-11-28 16:15:09 +02:00
Roman Hotsiy
31373bd965
Fix reference resolution from external files ( fixes #96 )
2016-11-08 11:02:36 +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
77eeb53a48
Render pattern property ( #42 )
2016-11-01 17:21:32 +02:00
Roman Hotsiy
9d4a903ef2
Start refactoring css + minor UI improvements
2016-11-01 17:00:52 +02:00
Roman Hotsiy
1e152f96f0
fix build
2016-10-31 21:09:55 +02:00
Roman Hotsiy
1aa9c4a3f2
Fix e2e and unit tests
2016-10-31 20:15:56 +02:00
Roman Hotsiy
4aa212547f
Replace :host from non-angular stylesheet
2016-10-31 20:15:13 +02:00
Roman Hotsiy
a0771d12c0
Enable markdown for securitydefinition description
2016-10-31 19:23:34 +02:00
Roman Hotsiy
ca654511ae
Fix side menu items wrong sync with description headers
2016-10-31 13:34:42 +02:00
Roman Hotsiy
9e7ba0ea8d
Deprecate x-traitTag
2016-10-31 12:32:03 +02:00
Roman Hotsiy
9389d7dc15
Fix unit tests
2016-10-31 10:15:04 +02:00
Roman Hotsiy
a94afe5f2d
Fix error handler
2016-10-31 09:16:39 +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
c39166266c
Refactor markdown renderer
2016-10-30 17:56:24 +02:00
Roman Hotsiy
44cd7784aa
Redoc error handler refactor
2016-10-30 17:55:36 +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
221fd7bf7b
separate RedocModule from AppModule
2016-10-20 11:34:48 +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
5597a58846
Do spec load after bootstrap
2016-10-14 11:44:18 +03:00
Roman Hotsiy
f9a3e42f15
Fix destroy/reinit
2016-10-12 23:05:30 +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
79693e1b27
Fix npm start on windows, fixes #119 , #118
2016-09-28 00:30:33 +03:00
Roman Hotsiy
2da84ec20d
Fix broken tabs styling for response samples
2016-09-13 01:34:24 +03:00
Roman Hotsiy
39db6e8462
Fix schema collapse after change discriminator
2016-09-12 23:54:35 +03:00
Roman Hotsiy
c768512913
Fix default value for falsy values is not displayed ( #109 )
2016-09-12 23:54:35 +03:00
Roman Hotsiy
511415ca06
Fix default hostname #108
2016-09-12 23:54:35 +03:00
Mike Ralphson
fb0defa04c
Typo s/IGNORRED/IGNORED
2016-09-08 19:31:17 +01:00
LeFnord
719dfbfa13
makes basePath optional
2016-09-06 10:52:31 +02:00
Roman Hotsiy
52c2233534
Smaller bundle size by removing esprima dep from bundle
2016-09-02 23:24:51 +03: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
4066362ab9
Add + fix tests
2016-08-31 23:51:56 +03:00
Roman Hotsiy
a8d98b127b
Fixed side menu overlapped site footer ( #75 )
2016-08-31 23:34:14 +03:00