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
Roman Hotsiy
b649d52c39
x-nullable support for non-object schemas
2016-08-31 22:45:59 +03:00
Roman Hotsiy
b2cd855aa8
Make e2e less verbose + minor fixes
2016-08-31 22:04:37 +03:00
Roman Hotsiy
acaf54b28f
Fix code samples are not shown for operations without body param ( #93 )
2016-08-31 22:04:37 +03:00
kedashoe
027cdc19c8
support "x-nullable" property
2016-08-31 11:36:18 -07:00
kedashoe
1f53d94053
give type "string" for pipe transforms
2016-08-31 11:23:06 -07:00
Roman Hotsiy
2be02c5aa1
Fix broken order in discriminator dropdowns
2016-08-30 21:29:56 +03:00
Roman Hotsiy
9f83c1c3ad
Fix version render issue
2016-08-30 20:16:06 +03:00
Roman Hotsiy
a7a4a349f0
Fix tests
2016-08-30 20:05:21 +03:00
Roman Hotsiy
a01f9f41a4
Fix sticky sidebar ( #75 )
2016-08-30 19:35:07 +03:00
Roman Hotsiy
2bc729ea23
Fix array inside objects if referenced directly ( fixes #84 )
2016-08-30 18:49:08 +03:00
Roman Hotsiy
4f746a19e3
fix warnings changedetection
2016-08-30 18:38:13 +03:00
Roman Hotsiy
1b6c858ab7
Fix minor css issues
2016-08-30 18:24:37 +03:00
Roman Hotsiy
c384163be0
ChangeDetectionStrategy.OnPush for components
2016-08-30 17:07:54 +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
158bd29b9b
default value for options
2016-08-30 13:40:26 +03:00
Roman Hotsiy
e680aeaacf
remove unused file
2016-08-29 18:24:50 +03:00
Roman Hotsiy
27197ffb46
Propagate external options
2016-08-29 07:30:49 +03:00
Roman Hotsiy
a65ecfa442
Move to webpack + AoT compilation ✨
2016-08-28 21:46:10 +03:00
Roman Hotsiy
3aa586cced
Migrate to typescript 2.0 and get rid of typings ( fixes #80 , #81 )
2016-08-28 21:44:11 +03:00
Roman Hotsiy
5efbd97f3e
Throttle scroll event
2016-08-22 12:18:56 +03:00
Roman Hotsiy
379870a1b3
Migrate to angular rc.5
2016-08-22 12:12:13 +03:00
Roman Hotsiy
2e9285e0f0
Revert markdown newlines to become breaks (related to SP-82)
2016-08-21 17:47:33 +03:00
Roman Hotsiy
b77e3c8843
Move license and contact info above description
2016-08-21 17:43:42 +03:00
Roman Hotsiy
b463258170
Remove wrong commited files
2016-08-21 11:14:57 +03:00
Roman Hotsiy
7b16a13427
Fix markdown code blocks in api description
2016-08-21 10:56:29 +03:00
Roman Hotsiy
eb0beda4e6
Fix markdown newlines to be gfm ( fixes #82 )
2016-08-21 10:17:41 +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
0b46186585
Render valid JSON in samples (quoted object keys)
2016-08-12 20:42:41 +03:00
Roman Hotsiy
9aea9bc683
Fix API descriptioin width on mobile
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
ce41ac1380
move initial styles import to the top
2016-08-01 07:23:01 +03:00
Mike Stead
e8f090604c
Validate that api scheme is used correctly
2016-08-01 10:26:10 +10:00
Mike Stead
190b5e79f6
Replace const with let to conform to coding style
2016-08-01 09:57:06 +10:00
Mike Stead
51965f94b5
Use api host if schema host is undefined
2016-08-01 09:46:34 +10:00
Roman Hotsiy
d3bbfbf163
Load fonts erlier
2016-07-28 20:17:45 +03:00
Roman Hotsiy
0e354afd20
Fix e2e tests timeouts
2016-07-28 19:59:42 +03:00
Roman Hotsiy
167b272d3e
CSS fixes
2016-07-28 19:59:02 +03:00
Roman Hotsiy
c0f43a3d15
Fix warnings show criteria
2016-07-28 15:57:37 +03:00
Roman Hotsiy
0f2189622e
Fix tag links
2016-07-28 15:57:13 +03:00
Roman Hotsiy
d5651a2cb7
Move Download Swagger button
2016-07-28 15:56:29 +03:00
Roman Hotsiy
9e2fab9108
Make roboto/montserrat fonts part of ReDoc (until styling feature is done)
2016-07-28 15:56:14 +03:00
Roman Hotsiy
c92a743ea8
Remove console.log
2016-07-28 08:57:10 +03:00
Roman Hotsiy
46fa6c9686
Fix discriminator/allOf merging issue
2016-07-28 07:51:22 +03:00
Roman Hotsiy
f98cb9a3fe
Render json-schema constrains for headers ( fixes #47 )
2016-07-28 07:24:12 +03:00
Roman Hotsiy
4b61357be0
Warnings on the top of page ( fixes #48 )
2016-07-27 18:57:23 +03:00
Roman Hotsiy
2872ffbcf9
If API supports both HTTP and HTTPS use HTTPS ( fixes #72 )
2016-07-26 14:51:59 +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
82f1be1d11
Get rid of prepareModel method. Use init instead
2016-07-20 11:07:08 +03:00
Roman Hotsiy
7967833254
Minor rendering perf improvements
2016-07-17 19:44:58 +03:00
Roman Hotsiy
6c2bfd8dee
Implement Copy/Expand/Collapse buttons
2016-07-17 18:07:51 +03:00
Roman Hotsiy
da9b4ab0b1
Dropdown overflow fix
2016-07-15 23:44:42 +03:00
Roman Hotsiy
8b20b083ea
Fix dropdown UI issue ( fixes #64 )
2016-07-15 23:28:51 +03:00
Roman Hotsiy
7bf8c1e852
Minor ui fix: space between range and requird
2016-07-15 20:20:24 +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
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
b4a8c35be6
Minor perf optimizations
2016-07-10 14:47:34 +03:00
Roman Hotsiy
31e38ac7ec
Fix crash on Firefox
2016-07-10 14:46:24 +03:00
Roman Hotsiy
ad678925f5
Add Response Schema label
2016-07-10 14:45:06 +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
ed2a5b46e1
Zippy performance optimization
2016-07-10 13:15:36 +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
f0fe212c24
Update file produces/consumes look
2016-07-01 18:10:01 +03:00
Roman Hotsiy
6a8f1e6e21
prepend v to api version
2016-07-01 18:09:42 +03:00
Roman Hotsiy
2d54a67c2c
Make baseUrl darker
2016-07-01 17:26:10 +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
81d06316ed
Add trackBy to tags
2016-07-01 16:30:35 +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
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
44e52febc6
Zippy UI enhancement
2016-06-29 18:02:29 +03:00
Roman Hotsiy
0b0f28cd4a
Implement expanding subschemas ( fixes #56 )
2016-06-29 18:02:19 +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
85d72d64e3
Update and clean up deps
2016-06-23 11:36:58 +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
b65370c8ac
Replace marked with remarkable
2016-06-22 12:42:24 +03:00
Roman Hotsiy
791355c60a
Add simple animations
2016-06-19 17:51:06 +03:00
Roman Hotsiy
54184b9f35
Don't show readOnly fields in request samples ( fixes #59 )
2016-06-18 21:02:01 +03:00
Roman Hotsiy
d57b96666b
fix minor bug ater ts migration
2016-06-18 20:58:50 +03:00
Roman Hotsiy
636f8df664
Merge branch 'typescript-migrate' ( fixes #57 )
2016-06-17 13:24:59 +03:00
Roman Hotsiy
76f06b1992
Fix coverage
2016-06-16 15:44:14 +03:00
Roman Hotsiy
81701d3cb5
Fix json-schema-ref-parser importing
2016-06-15 23:33:57 +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
3629e34a5a
Continue migrating to TS
2016-06-06 19:32:20 +03:00
Roman Hotsiy
4005d8f61b
Proper examples generation: fixes #43
2016-05-29 20:26:20 +03:00
Roman Hotsiy
65bc8ef4e5
Migrate to Typescript (not finished yet)
2016-05-25 18:34:31 +03:00
Roman Hotsiy
6f8ea60da7
Add version getter to ReDoc runtime
2016-05-20 20:36:26 +03:00
Roman Hotsiy
8e6ce26ea6
use json-schema-ref-parser instead of SwaggerParser ( fixes #46 )
2016-05-20 20:13:39 +03:00
Roman Hotsiy
9c5d002eda
Add basic error message (part of #48 )
2016-05-20 19:51:25 +03:00
Roman Hotsiy
1d0579f114
Remove debug log messages
2016-05-20 19:29:12 +03:00
Roman Hotsiy
18c3f605a0
Minor refactoring in json-schema-lazy
2016-05-20 19:28:16 +03:00
Roman Hotsiy
1eb38a8701
Enhance loading animation
2016-05-19 10:04:54 +03:00
Roman Hotsiy
a8cd9e3c14
Add Header for response schema
2016-05-18 22:39:09 +03:00
Roman Hotsiy
269f535d7f
Default values (only for primitive types)
2016-05-18 22:24:34 +03:00
Roman Hotsiy
a43d725256
Minor UI fix: scroll for too long endpoint url
2016-05-18 22:12:41 +03:00
Roman Hotsiy
b9bc3f2eab
Change detection optimizations
2016-05-18 17:16:29 +03:00
Roman Hotsiy
7380f89482
fix mobile nav
2016-05-17 19:38:12 +03:00
Roman Hotsiy
547cf0ceab
Add type:file support for payloads
2016-05-16 23:02:34 +03:00
Roman Hotsiy
c228c5473c
remove whitespace between root path and method path ( fixes #44 )
2016-05-10 10:15:16 +03:00
Roman Hotsiy
50a378f3ea
Fix changeDetection in Safari
2016-05-10 09:44:44 +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
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
Roman Hotsiy
a272dacc95
Update angular to the rc
2016-05-05 11:05:02 +03:00
Roman Hotsiy
93ac1516c4
Merge branch 'dropdown-style'
2016-04-30 21:29:37 +03:00
Roman Hotsiy
e8716ab69d
Updated tests after angular update
2016-04-30 00:45:53 +03:00
Roman Hotsiy
9d13b702b3
Update agnular to the latest beta
2016-04-29 22:57:24 +03:00
Roman Hotsiy
68ea1576a8
Fix periodical build fails: bundle prism.js to one file in correct order
2016-04-28 22:21:08 +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