diff --git a/README.md b/README.md index f9b26265..78dd1597 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ ReDoc makes use of the following [vendor extensions](http://swagger.io/specifica * **number**: A fixed number of pixels to be used as offset * **selector**: selector of the element to be used for specifying the offset. The distance from the top of the page to the element's bottom will be used as offset. * **function**: A getter function. Must return a number representing the offset (in pixels). +* `suppress-warnings` - if set, warnings are not rendered at the top of page (they still are logged to the console) ## Advanced usage Instead of adding `spec-url` attribute to the `` element you can initialize ReDoc via globally exposed `Redoc` object: diff --git a/lib/components/Redoc/redoc.html b/lib/components/Redoc/redoc.html index 8e166bd8..0a4bcaa4 100644 --- a/lib/components/Redoc/redoc.html +++ b/lib/components/Redoc/redoc.html @@ -4,7 +4,8 @@
- + +