mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 13:44:54 +03:00
grammar
This commit is contained in:
parent
7003bcc109
commit
a5abb35584
|
@ -324,7 +324,7 @@ Redoc.init(specOrSpecUrl, options, element, callback?)
|
|||
- `specOrSpecUrl` is either JSON object with specification or an URL to the spec in `JSON` or `YAML` format
|
||||
- `options` [options object](#redoc-options-object)
|
||||
- `element` DOM element to put ReDoc into
|
||||
- `callback` (optional) - callback to be called after Redoc has been fully rendered. It is also called also on errors with error as the first argument
|
||||
- `callback` (optional) - callback to be called after Redoc has been fully rendered. It is also called on errors with error as the first argument
|
||||
|
||||
```js
|
||||
Redoc.init('http://petstore.swagger.io/v2/swagger.json', {
|
||||
|
|
Loading…
Reference in New Issue
Block a user