Commit Graph

230 Commits

Author SHA1 Message Date
Alex
76a8988a1b docs: fixed example slack api url (#1077) 2019-12-10 08:09:40 +02:00
Dimitar Nanov
3e90133664 feat: display multipleOf constrains (#1065) 2019-12-08 11:54:07 +02:00
russellrobinson
b5af71da5f fix: no quotes for default values in header fields. (#1059) 2019-10-16 16:01:54 +03:00
Roman Hotsiy
4496622438
fix: rename ObjectDescription to SchemaDefinition as discussed 2019-07-30 19:51:27 +03:00
Roman Hotsiy
70d1ee9edd
fix: do not add extra slashes to pattern
fixes #983
2019-07-30 10:54:40 +03:00
Roman Hotsiy
12e7394ea3
chore: update deps 2019-07-29 18:41:57 +03:00
Roman Hotsiy
7883fad333
chore: simplify demo spec 2019-07-29 13:19:22 +03:00
Roman Hotsiy
00a0abf4a4
chore: refactor + jsxify md tags 2019-07-29 13:19:22 +03:00
Dimitar Nanov
51b5d04fcc
update demo to show use cases 2019-07-29 13:19:21 +03:00
Dimitar Nanov
4359724434
add section menus for tags and object description 2019-07-29 13:17:59 +03:00
Roman Hotsiy
753b013eee
chore: fix stars iframe after repo transfer 2019-06-04 16:02:16 +03:00
Roman Hotsiy
d78029a04e
chore: move repo to Redocly org 2019-06-04 15:47:22 +03:00
Roman Hotsiy
6de3523eb0
chore: fix bundle after oas-kit update 2019-05-12 23:17:26 +03:00
Roman Hotsiy
5af6ba7191
chore: add simple parameter to playground to simplify local testing 2019-03-28 10:39:41 +02:00
Roman Hotsiy
2cdfcd25cd
feat: support externalValue for examples
implements #551, related to #840
2019-03-11 17:14:14 +02:00
Roman Hotsiy
309901bd31
chore: update deps 2019-03-11 17:14:14 +02:00
Roman Hotsiy
27d195ef38
chore: update styled components typings 2018-11-27 11:28:13 +02:00
lscholten
f40568b79e feat: Add support for minLength and maxLength constraint humanization (#700)
According to #42 , `minItems` and `maxItems` are not yet rendered in the documentation.
This pull request shows the humazined form of `minItems` and `maxItems` next to the type description.
The [suggestion of fgabolde](https://github.com/Rebilly/ReDoc/issues/42#issuecomment-371883853) is followed and "characters" is simply replaced with "items".

![image](https://user-images.githubusercontent.com/1814807/47999845-0a13f900-e104-11e8-9ddc-adab701ec0bb.png)

Some examples are added to the demo.
2018-11-05 16:14:57 +02:00
Roman Hotsiy
00846e1f55
chore: update dev deps 2018-10-18 11:27:28 +03:00
Roman Hotsiy
477c01a9de
chore: fix benchmark crashing 2018-10-18 10:40:26 +03:00
Roman Hotsiy
955be200b8
chore: do not emit declarations for demo build 2018-09-19 10:08:24 +03:00
Roman Hotsiy
5a192dbf74
chore: fix demo on IE
closes #647
2018-09-19 09:59:14 +03:00
Matthias Mohr
893c83ed07 feat: externalDocumentation rendered for tags, operations and schema fields (#595)
The externalDocs were missing for tags, schemata and operations. Added them with this pull requests. Solves #550.

Additionally, fixes that the URL in External Documentation Object was specified to be optional, which is not correct according to OpenAPI spec.
2018-09-10 18:23:17 +03:00
Roman Hotsiy
93e844c3d0
chore: update babel to latest rc 2018-08-18 16:21:32 +03:00
Sheila Kelly
568ce74077 feat: Add x-logo alt text support (#584)
Fixes #546
2018-08-02 15:27:38 +03:00
Roman Hotsiy
757a92e425
chore: fix markdown in demo 2018-07-25 18:02:21 +03:00
Roman Hotsiy
58bddc8811
feat: big theme update 2018-07-19 14:33:51 +03:00
Roman Hotsiy
edc77a2017
chore: update ts and enable noUnusedLocals 2018-07-17 12:15:22 +03:00
Zach Pomerantz
cddfb12806 chore: Add Dockerfile for easier deployment (#427) 2018-06-25 14:10:29 +03:00
Roman Hotsiy
c56ba17c98
chore: fix slack spec link in demo 2018-06-01 15:41:42 +03:00
Roman Hotsiy
01f575cc73
fix: fix build caused by new babel decorators syntax, fixes #487 2018-05-14 10:38:44 +03:00
Roman Hotsiy
deffdc548e
chore: remove worker from main bundle for browser/standalone build 2018-03-26 18:24:19 +03:00
Roman Hotsiy
040bc239a2
chore: fix hot realoding in playground 2018-03-26 18:13:39 +03:00
Roman Hotsiy
39352e6e4a
chore: ignore some not-used code from node_modules (-9KB) 2018-03-26 13:57:00 +03:00
Roman Hotsiy
fefe571d29
chore: add babel-plugin-styled-components (smaller bundle size) 2018-03-23 16:16:29 +02:00
Roman Hotsiy
d92ed428f9
chore: fix deme on mobile 2018-03-22 18:22:11 +02:00
Roman Hotsiy
a2925988b1
chore: add soical metatags to demo 2018-03-21 20:30:46 +02:00
Roman Hotsiy
866217667a
chore: demo deployment from CI 2018-03-21 19:59:55 +02:00
Roman Hotsiy
89c62a6b19
chore: copy openapi.yaml to the demo folder 2018-03-21 19:59:55 +02:00
Roman Hotsiy
cb673f0bd3
chore: Upload redoc-demo.png
[ci skip]
2018-03-21 18:23:41 +02:00
Roman Hotsiy
0382034ec2
Merge branch 'react-rewrite' 🎉 2018-03-21 17:47:35 +02:00
Roman Hotsiy
6c70d1a345
chore: migrate to webpack 4 2018-03-17 17:58:28 +02:00
Roman Hotsiy
e27d421f8a
chore: migrate to ts-loader 2018-03-17 15:16:56 +02:00
Roman Hotsiy
053248e8ab
chore: update to the latest react-hot-loader@4 2018-03-17 14:17:09 +02:00
David Revay
5dc21af281 fix: A couple minor bug fixes (#436)
* Fix so deref always returns an object.
* Fix SelectOnClick so it does not crash
* chore: fix demo's webpack.config.ts
* Fix space
2018-03-14 08:05:57 +02:00
Roman Hotsiy
21447d22a1
chore: fix lint issues 2018-03-13 13:04:55 +02:00
Roman Hotsiy
83eaa5f838
chore: create demo page 2018-03-13 12:58:22 +02:00
Roman Hotsiy
49c23c9345
chore: ts-ignore import issue + fix lint errors 2018-03-09 12:10:08 +02:00
Roman Hotsiy
0658b8ea67
chore: export hydrate from standalone build 2018-03-07 17:14:23 +02:00
Roman Hotsiy
4f7fa87f5a
chore: upload new petstore logo
[ci skip]
2018-03-07 16:22:13 +02:00
Roman Hotsiy
29b0846e57
chore: add dead-simple example of SSR 2018-03-06 13:16:03 +02:00
Roman Hotsiy
e94f84283d
feat: serialize search-index 2018-03-06 13:10:08 +02:00
Luciano Jr
e0c6086c8e chore: update demo swagger.yaml (#417)
Fix typo
2018-02-18 12:36:56 +02:00
Roman Hotsiy
6990cd2f24
feat: basis search 2018-02-08 18:46:32 +02:00
Roman Hotsiy
3aab2d97d3
feat: responsive side menu 2018-01-30 15:38:16 +02:00
Roman Hotsiy
a29c3ccc2d
fix: basic responsiveness 2018-01-30 15:35:18 +02:00
Roman Hotsiy
5bb0bdfd29
feat: port "copy to clipboard" / "expand/collapse all" functionality
closes #410
2018-01-23 18:49:45 +02:00
Roman Hotsiy
dc18743df4
chore: add tslint + fix lint issues 2018-01-23 15:04:50 +02:00
Roman Hotsiy
14f8408e8d
fix: do not ignore path level parameters 2017-12-07 17:17:23 +02:00
Roman Hotsiy
5b3964e55b
minor update in hmr playground 2017-11-21 16:37:31 +02:00
Roman Hotsiy
f52a05a2b5
Implement expandResponses option 2017-11-21 13:00:33 +02:00
Roman Hotsiy
c2f82cdc8b
Implement options and scrollYOffset option 2017-11-20 18:02:49 +02:00
Roman Hotsiy
5438770267
Filter readOnly and writeOnly fields from request/response 2017-11-20 12:54:27 +02:00
Roman Hotsiy
7c7294913d
Move playground + fix perf benchmark 2017-11-19 22:11:40 +02:00
Roman Hotsiy
8e6b9e8380
Add OpenAPI 2.0 compatibility mode 2017-11-14 23:40:38 +02:00
Roman Hotsiy
4c3b4aa589
Initial React rewrite 2017-10-12 00:01:37 +03:00
Roman Hotsiy
9aac636687
chore: clean non-used entry-point 2017-09-21 01:00:22 +03:00
Roman Hotsiy
35176b5f67
fix: crash if contact is not in the spec
closes #332
2017-08-28 13:39:55 +03:00
Roman Hotsiy
f792273be8
support x-example for parameters
closes #297
2017-08-17 11:26:02 +03:00
Roman Hotsiy
b84177c157
feat: support text-plain response sample
closes #270
2017-08-17 11:24:06 +03:00
Roman Hotsiy
8193194e7a
chore: remove analytics from local demo 2017-08-02 15:36:01 +03:00
Roman Hotsiy
cb2de97945
chore: fix demo dropdown and stars count 2017-07-22 17:05:18 +02:00
Phil Sturgeon
039bbdb585 Spacing applied to aaaaalll li's 2017-07-14 11:34:16 +03:00
Peter Golm
2748aac024 feat: Add special rendering for deprecated operations (#290)
* Add special rendering for deprecated operations

* Change styling of deprecated operation header
2017-07-04 10:15:22 +03:00
Roman Hotsiy
c0698bb215
fix: prevent possible xss using untrusted-spec option 2017-05-12 12:42:24 +03:00
Roman Hotsiy
cb106cc668
feat: display xml examples if present in response examples 2017-05-12 11:03:14 +03:00
Roman Hotsiy
fd49082db2
feat: Add support for x-servers 2017-02-26 00:59:49 +02:00
Roman Hotsiy
3daeffc452
Add subcategory to demo spec 2017-02-02 23:13:41 +02:00
Roman Hotsiy
e164590fca
Expanding nested schemas by absolute pointer 2017-02-02 23:13:40 +02:00
Roman Hotsiy
c6b1fc8e72
Enhance README 2017-01-31 12:09:46 +02:00
Roman Hotsiy
5bbdc1e2a8
fix demo 2017-01-31 11:00:17 +02:00
Roman Hotsiy
177bffb1c3
Merge branch 'menu-refactor' 2017-01-06 12:58:15 +02:00
Roman Hotsiy
658a3b9ae3
Add groups to demo spec 2017-01-06 12:56:24 +02:00
Roman Hotsiy
892d4f0082
disable cors for dev demopage 2016-12-28 15:11:43 +02:00
Roman Hotsiy
98f36daff8
Enable lazyRendering for demo-pages 2016-11-30 13:26:56 +02:00
Roman Hotsiy
7e7db9f36e
Enable cors-proxy 2016-11-29 17:54:21 +02:00
Roman Hotsiy
f89bf8fd60
Add description for securityDefinitions 2016-11-01 10:08:54 +02:00
Roman Hotsiy
b8b3bf328e
Security Definitions + other 2016-10-30 17:58:06 +02:00
Adam DuVander
553ee8091f Just a little typo 2016-09-07 14:41:10 -07:00
kedashoe
027cdc19c8 support "x-nullable" property 2016-08-31 11:36:18 -07:00
Roman Hotsiy
3a175d47fb
remove log 2016-08-30 13:39:31 +03:00
Roman Hotsiy
f9885c01e8
Separate file for gh demo 2016-08-29 07:34:08 +03:00
Roman Hotsiy
66684c192b
Remove unused files 2016-08-29 07:33:29 +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
0e3d506277
Fix link on demo 2016-08-21 17:42:13 +03:00
Roman Hotsiy
40a3102934
Fix dropdown on demo 2016-08-21 10:49:53 +03:00
Roman Hotsiy
2364250e96
Add GA to demo page 2016-08-12 20:42:41 +03:00
Roman Hotsiy
c076b5ebbc
Enhance demo (fixes #49) 2016-07-29 13:44:23 +03:00
Roman Hotsiy
167b272d3e
CSS fixes 2016-07-28 19:59:02 +03:00