Commit Graph

1799 Commits

Author SHA1 Message Date
Siarhei Bautrukevich
4e8ee0305d feat(cli): Add templateOptions param to pass additional data to custom template (#792)
* Add templateOptions param to pass additional data to custom template
* Update README for ReDoc cli
2019-01-31 09:51:44 +08:00
Roman Hotsiy
889cbe3f79
chore: Release 2.0.0-rc.2 🔖 2019-01-27 20:13:46 +07:00
Roman Hotsiy
d197c0feda
fix: make syntax highlighting for md js code blocks same as for payload samples 2019-01-23 20:11:32 +07:00
Roman Hotsiy
007752dfc4
fix: make padding for md code blocks and code samples consistent 2019-01-23 19:55:14 +07:00
Roman Hotsiy
801fea0474
chore: remove info.version validation 2019-01-17 18:43:02 +02:00
Roman Hotsiy
8c9e3bdbe4
chore: fix lint issue 2019-01-17 17:32:47 +02:00
Patrick Niklaus
fb3cb3627b fix: Only display API version if present (#773)
* Only display API version if present
* Warn if `info.version` is omitted, error if `info` is missing.
2019-01-17 17:24:05 +02:00
Roman Hotsiy
c343db694e
chore(cli): redoc-cli v0.7.1 2019-01-17 16:14:57 +02:00
Roman Hotsiy
206d43edb8
chore(cli): Update redoc in cli 2019-01-17 16:14:29 +02:00
Roman Hotsiy
c16d3d5a91
v2.0.0-rc.1 🔖 2019-01-17 13:21:31 +02:00
Roman Hotsiy
fa39ce4eef
fix: make example/defaults badge consistent with code blocks 2019-01-17 13:19:17 +02:00
Roman Hotsiy
c7436f2cee
fix: pattern constrain spacing 2019-01-17 12:54:59 +02:00
Roman Hotsiy
c04f387378
fix: sidebar navigation issues when scrollYOffset is float number
fixes #748
2019-01-17 12:20:22 +02:00
Luigi Pinca
02f6e1820b chore: update marked to version 0.6.0 (#768)
The new release includes https://github.com/markedjs/marked/pull/1383.
2019-01-17 12:06:35 +02:00
lrobledo
a419303612 docs: fix typos in redoc-vendor-extensions.md (#782)
[ci skip]
2019-01-10 17:28:21 +02:00
DeBr0glie
1bbb0fe679 docker: Incorrect port after restart when PORT is 8080 (#776)
When PORT is 8080 and dokcer restart, nginx will listen 80808080
2019-01-10 10:06:51 +02:00
Alex Scammon
30cbba3f6f docs: Fix the demo specUrl (#778) 2019-01-10 10:03:41 +02:00
Sebastián Ramírez
ab943a8dd5 docs: Add FastAPI to real-life usages in README (#756) 2018-12-24 11:25:31 +02:00
Patrick Elam
a1aa49a322 docs: fix link to OpenAPI specification in vendor extensions doc (#750) 2018-12-17 23:07:33 +02:00
neumond
cfb6f0fde0 fix: allow docker container serving under non-root URLs (#731)
fixes #730
2018-12-11 15:27:12 +02:00
SoftBrix
809e7f2841 chore: updated marked to 0.5.2 (#734)
Updated version for the marked dependency to an official release.
2018-12-06 15:35:04 +02:00
Matthias Mohr
523dbdc38f docs: fix typo in README (#735) 2018-12-06 15:17:57 +02:00
Patrick Elam
4f60ec85aa docs: fixed links to oas spec page (#728) 2018-11-30 10:09:40 +02:00
Roman Hotsiy
a47a4b83c3
chore: Release 2.0.0-rc.0 🔖 2018-11-27 14:41:54 +02:00
Roman Hotsiy
25dc775443
chore: fix ts declarations 2018-11-27 13:32:12 +02:00
Roman Hotsiy
0525d2de8b
chore: update cli deps 2018-11-27 13:31:52 +02:00
Roman Hotsiy
59eaa8d633
fix: false-positive recursive detection with oneOf
fixes #723, fixes #585
2018-11-27 12:54:52 +02:00
Roman Hotsiy
e2d0cd5b18
fix: theme improvments by @stasiukanya
squashed commit of the following:

commit 6b07dc7fa0
Author: Anya Stasiuk <stasiukanya@gmail.com>
Date:   Wed Nov 7 15:18:26 2018 +0200

    theme fixes
2018-11-27 12:07:52 +02:00
Roman Hotsiy
f2f6909835
fix: fix spacing with nested markdown lists
fixes #718
2018-11-27 11:47:34 +02:00
Roman Hotsiy
155d214509
feat: add support for markdown in Server Object 2018-11-27 11:43:31 +02:00
Roman Hotsiy
3673720497
fix: nested oneOf button spacing
fixes #719
2018-11-27 11:36:07 +02:00
Roman Hotsiy
27d195ef38
chore: update styled components typings 2018-11-27 11:28:13 +02:00
Roman Hotsiy
af3eee1f52
chore: update dev deps 2018-11-27 11:27:36 +02:00
TATSUNO Yasuhiro
87fd7d7fdd feat: Add feature to specify href for logo explicitly (#645)
Closes https://github.com/Rebilly/ReDoc/issues/627
2018-11-27 11:27:10 +02:00
Dave Oram
5e6f6fff03 Feature/dockerize redoc cli (#614)
* Docker container to run redoc-cli

* Dockerfile to package the 'redoc-cli' tool as a docker image

* Revert "Dockerfile to package the 'redoc-cli' tool as a docker image"

This reverts commit fec72ac0ea.

* Dockerfile to package the 'redoc-cli' tool as a docker image

* Fixed with help from RomanGotsiy  & xxxcoltxxx
2018-11-27 09:36:06 +02:00
mknoszlig
4691d78dc0 docs: fix link to Dockerfile. (#710)
[ci skip]
2018-11-14 14:37:14 +02:00
Roman Hotsiy
ebe8d3f68c
chore: use docker build hook to use Dockerfile from other location
[ci skip]
2018-11-06 16:56:56 +02:00
Roman Hotsiy
07b5e62897
chore: move Dockerfile to config/docker 2018-11-06 15:30:04 +02:00
Roman Hotsiy
ea5029b52d
chore: optimize docker build 2018-11-06 15:24:12 +02:00
Roman Hotsiy
e77df0ca07
fix: onLoaded callback not run on spec error
fixes #690
2018-11-06 14:09:10 +02:00
Roman Hotsiy
bba40cd34a
Merge 'mes3fork/watch-backend' 2018-11-06 11:00:12 +02:00
Robert DeRose
5c9f488656 docs: corrected Docker Port in README.md (#691)
The command to launch ReDoc with Docker had the `-p` values reversed.
According to the Docker Docs, it should be `HOST_PORT:CLIENT_PORT`.
The Nginx service is running on port 80 inside the container, 8080 is the 
port exposed on the host.
2018-11-05 16:44:44 +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
b5f32247be
fix: fix hideHostname also hiding basePath
fixes #677
2018-11-05 15:57:01 +02:00
Roman Hotsiy
a69c402d9b
fix: improve scrolling performance in Chrome with non-wrapped json examples 2018-11-05 15:57:01 +02:00
Marius Rumpf
9e2853c2fd fix(cli): old peer dependency issue with styled-components (#699) 2018-11-05 12:38:57 +02:00
Melvyn Sopacua
df43cfbe64 refactor(cli): Use chokidar for watching
Caveat: could not get this to work with a debounce.
Fixes: recursive file watching on Linux (and thus Docker).
2018-11-03 17:03:59 +01:00
Petr Flaks
97db54aa2e docs: Add information to README about Docker image & Docker Hub (#676)
closes #657
2018-10-18 18:27:31 +03:00
Roman Hotsiy
a6652542f3
chore: Release 2.0.0-alpha.41 🔖 2018-10-18 14:35:46 +03:00
Roman Hotsiy
9a238e75eb
chore: fix lint issue 2018-10-18 14:19:30 +03:00