minor README fix

This commit is contained in:
Roman Hotsiy 2016-01-25 01:22:25 +02:00
parent c4972966e0
commit a8d74e0b6f

View File

@ -11,7 +11,7 @@ Swagger-generated API Reference Documentation
## Deployment ## Deployment
## tl;dr #### tl;dr
```html ```html
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
@ -85,7 +85,7 @@ Instead of adding `spec-url` attribute to the `<redoc>` element you can initiali
Redoc.init(specUrl, options) Redoc.init(specUrl, options)
``` ```
`options` is javascript object with camel-cased versions of options names as the keys. For example: `options` is javascript object with camel-cased version of options names as the keys. For example:
```js ```js
Redoc.init('http://petstore.swagger.io/v2/swagger.json', { Redoc.init('http://petstore.swagger.io/v2/swagger.json', {
scrollYOffset: 50 scrollYOffset: 50